cholla
Classes | Public Member Functions | Public Attributes | List of all members
Grav3D Class Reference

Classes

struct  Fields
 

Public Member Functions

 Grav3D (void)
 Constructor for the gravity class.
 
void Initialize (Real x_min, Real y_min, Real z_min, Real Lx, Real Ly, Real Lz, int nx_total, int ny_total, int nz_total, int nx_real, int ny_real, int nz_real, Real dx_real, Real dy_real, Real dz_real, int n_ghost_pot_offset, struct parameters *P)
 Initialize the grid.
 
void AllocateMemory_CPU (void)
 
void Initialize_values_CPU ()
 
void FreeMemory_CPU (void)
 
Real Get_Average_Density ()
 
Real Get_Average_Density_function (int g_start, int g_end)
 

Public Attributes

Real Lbox_x
 
Real Lbox_y
 
Real Lbox_z
 
Real xMin
 
Real yMin
 
Real zMin
 
int nx_total
 
int ny_total
 
int nz_total
 
int nx_local
 Local number of cells in the x-dimension.
 
int ny_local
 Local number of cells in the y-dimension.
 
int nz_local
 Local number of cells in the z-dimension.
 
Real dx
 x-width of cells
 
Real dy
 y-width of cells
 
Real dz
 z-width of cells
 
Real dens_avrg
 
int n_cells
 
int n_cells_potential
 
bool INITIAL
 
Real dt_prev
 
Real dt_now
 
Real Gconst
 
bool TRANSFER_POTENTIAL_BOUNDARIES
 
struct Grav3D::Fields F
 

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