Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
Grav3D Class Reference
Collaboration diagram for Grav3D:
Collaboration graph
[legend]

Classes

struct  Fields
 

Public Member Functions

 Grav3D (void)
 Constructor for the gravity class.
 
void Initialize (const SpatialDomainProps &spatial_props, Real Lx, Real Ly, Real Lz, int n_ghost_pot_offset, Parameters *P)
 Initialize the grid.
 
void AllocateMemory_CPU (void)
 
void Initialize_values_CPU ()
 
void FreeMemory_CPU (void)
 
void Read_Restart_HDF5 (struct Parameters *P, int nfile)
 
void Write_Restart_HDF5 (struct Parameters *P, int nfile, const FnameTemplate &fname_template)
 
Real Get_Average_Density ()
 
Real Get_Average_Density_function (int g_start, int g_end)
 
void Set_Boundary_Flags (int *flags)
 

Public Attributes

Real Lbox_x
 
Real Lbox_y
 
Real Lbox_z
 
Real xMin
 
Real yMin
 
Real zMin
 
Real xMax
 
Real yMax
 
Real zMax
 
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
 
bool BC_FLAGS_SET
 
int * boundary_flags
 
struct Grav3D::Fields F
 

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