34 int ghosts = solver->
ghosts;
50 S[p] = exp(-param->
grav*xcoord);
52 double pi = 4.0 * atan(1.0);
53 double phi = -sin(2*pi*xcoord)/(2*pi);
79 if (mpi->
ip[d] == mpi->
iproc[d]-1) {
MPI related function definitions.
Structure containing variables and parameters specific to the 1D Euler equations. This structure cont...
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
#define _ArrayIndex1DWO_(N, imax, i, offset, ghost, index)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
int Euler1DGravityField(void *s, void *m)
1D Euler Equations (inviscid, compressible flows)
Structure of MPI-related variables.
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.