20 int ghosts = solver->
ghosts;
21 int d, size = 1; for (d = 0; d <
_MODEL_NDIMS_; d++) size *= (dim[d] + 2*ghosts);
void gpuMemset(void *, int, size_t)
Contains function definitions for common array operations on GPU.
Structure containing all solver-specific variables and functions.
void gpuMalloc(void **, size_t)
double * gpu_grav_field_f
Contains structure definition for hypar.
2D Navier Stokes equations (compressible flows)
Structure containing variables and parameters specific to the 2D Navier Stokes equations. This structure contains the physical parameters, variables, and function pointers specific to the 2D Navier-Stokes equations.
double * gpu_grav_field_g
void gpuMemcpy(void *, const void *, size_t, enum gpuMemcpyKind)
int gpuNavierStokes2DInitialize(void *s, void *m)