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