CosmoGRaPH v0.0
Public Member Functions | Public Attributes | List of all members
cosmo::CosmoArray< IT, RT > Class Template Reference
Collaboration diagram for cosmo::CosmoArray< IT, RT >:
Collaboration graph
[legend]

Public Member Functions

 CosmoArray (IT n_in)
 
 CosmoArray (IT nx_in, IT ny_in, IT nz_in)
 
void setName (std::string name_in)
 
void init (IT nx_in, IT ny_in, IT nz_in)
 
IT _IT_mod (IT n, IT d) const
 
RT sum ()
 
RT avg ()
 
RT min ()
 
RT max ()
 
RT abs_max ()
 
RT L2_norm ()
 
IT idx (IT i_in, IT j_in, IT k_in)
 
RT & operator() (IT i, IT j, IT k)
 
CosmoArrayoperator= (const CosmoArray &other)
 
RT & operator[] (IT idx)
 
RT getInterpolatedValue (RT i_in, RT j_in, RT k_in)
 
RT CINT (RT u, RT p0, RT p1, RT p2, RT p3)
 
RT getTriCubicInterpolatedValue (RT i_in, RT j_in, RT k_in)
 

Public Attributes

IT nx
 
IT ny
 
IT nz
 
IT pts = 0
 
std::string name
 
RT * _array
 

The documentation for this class was generated from the following file: