|
Fast Methods for Cosmological Simulations
FastSim serves as a tool for quick N-body simulations in modified gravity.
|
: class handling basic mesh functions, the most important are creating and destroing the underlying data structure creates a mesh of N1*N2*N3 cells More...
#include <class_mesh.hpp>
Public Member Functions | |
| Mesh_base (size_t n1, size_t n2, size_t n3) | |
| T * | real () |
| const T * | real () const |
| void | assign (T val) |
| T & | operator[] (size_t i) |
| const T & | operator[] (size_t i) const |
| T & | operator() (size_t i, size_t j, size_t k) |
| const T & | operator() (size_t i, size_t j, size_t k) const |
| T & | operator() (size_t i, size_t j) |
| const T & | operator() (size_t i, size_t j) const |
| template<typename U > | |
| T & | operator() (Vec_3D< U > pos) |
| template<typename U > | |
| const T & | operator() (Vec_3D< U > pos) const |
| Mesh_base & | operator+= (const T &rhs) |
| Mesh_base & | operator-= (const T &rhs) |
| Mesh_base & | operator*= (const T &rhs) |
| Mesh_base & | operator/= (const T &rhs) |
Public Attributes | |
| size_t | N1 |
| size_t | N2 |
| size_t | N3 |
| size_t | length |
| std::vector< T > | data |
: class handling basic mesh functions, the most important are creating and destroing the underlying data structure creates a mesh of N1*N2*N3 cells
Definition at line 24 of file class_mesh.hpp.
Definition at line 28 of file class_mesh.hpp.
|
inline |
Definition at line 38 of file class_mesh.hpp.
Referenced by anonymous_namespace{mod_frozen_potential.cpp}::LinkedList::get_linked_list(), get_rho_from_par(), and TEST_CASE().
|
inline |
Definition at line 48 of file class_mesh.hpp.
|
inline |
Definition at line 49 of file class_mesh.hpp.
|
inline |
Definition at line 51 of file class_mesh.hpp.
|
inline |
Definition at line 52 of file class_mesh.hpp.
Definition at line 54 of file class_mesh.hpp.
|
inline |
Definition at line 60 of file class_mesh.hpp.
Definition at line 75 of file class_mesh.hpp.
Definition at line 66 of file class_mesh.hpp.
Definition at line 73 of file class_mesh.hpp.
Definition at line 82 of file class_mesh.hpp.
|
inline |
Definition at line 45 of file class_mesh.hpp.
|
inline |
Definition at line 46 of file class_mesh.hpp.
|
inline |
Definition at line 36 of file class_mesh.hpp.
Referenced by fftw_execute_dft_c2r(), fftw_execute_dft_r2c(), anonymous_namespace{chameleon.cpp}::ChiSolver< T >::set_linear_recursively(), and TEST_CASE().
|
inline |
Definition at line 37 of file class_mesh.hpp.
| std::vector<T> Mesh_base< T >::data |
Definition at line 33 of file class_mesh.hpp.
Referenced by Mesh::complex(), max(), anonymous_namespace{test_chameleon.cpp}::mean(), mean(), min(), anonymous_namespace{chameleon.cpp}::min(), Mesh::operator()(), Mesh::reset_part(), and std_dev().
| size_t Mesh_base< T >::length |
Definition at line 32 of file class_mesh.hpp.
Referenced by App_Var_AA::AAImpl::AAImpl(), Mesh_base< size_t >::assign(), gen_cqty_binned(), anonymous_namespace{adhesion.cpp}::gen_init_expot(), gen_pot_k(), gen_rho_w_pow_k(), anonymous_namespace{chameleon.cpp}::ChiSolver< T >::get_chi_k(), anonymous_namespace{test_chameleon.cpp}::init_overdensity(), Mesh_base< size_t >::operator*=(), Mesh_base< size_t >::operator+=(), Mesh_base< size_t >::operator/=(), pwr_spec_k(), pwr_spec_k_init(), Mesh::reset_part(), and TEST_CASE().
| size_t Mesh_base< T >::N1 |
Definition at line 32 of file class_mesh.hpp.
Referenced by gen_gauss_white_noise(), and TEST_CASE().
| size_t Mesh_base< T >::N2 |
Definition at line 32 of file class_mesh.hpp.
Referenced by Mesh::operator()(), and TEST_CASE().
| size_t Mesh_base< T >::N3 |
Definition at line 32 of file class_mesh.hpp.
Referenced by Mesh::operator()(), and TEST_CASE().