14 #undef _MINIMUM_GHOSTS_
19 #define _MINIMUM_GHOSTS_ 1
66 int ghosts = solver->
ghosts;
67 int ndims = solver->
ndims;
68 int nvars = solver->
nvars;
73 int indexC[ndims], indexI[ndims], index_outer[ndims], bounds_outer[ndims], bounds_inter[ndims];
75 _ArrayCopy1D_(dim,bounds_inter,ndims); bounds_inter[dir] += 1;
81 for (indexI[dir] = 0; indexI[dir] < dim[dir]+1; indexI[dir]++) {
84 indexC[dir] = indexI[dir]-1;
_ArrayIndex1D_(ndims,dim,indexC,ghosts,qL);
85 indexC[dir] = indexI[dir] ;
_ArrayIndex1D_(ndims,dim,indexC,ghosts,qR);
86 int v;
for (v=0; v<nvars; v++) fI[p*nvars+v] = (fC[qR*nvars+v] - fC[qL*nvars+v]);
#define _ArraySetValue_(x, size, value)
Definitions for the functions computing the interpolated value of the primitive at the cell interface...
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
#define _ArrayCopy1D_(x, y, size)
Contains structure definition for hypar.
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
Structure containing all solver-specific variables and functions.
int Interp2PrimSecondOrder(double *, double *, int, void *, void *)
2nd order component-wise interpolation of the 2nd primitive on a uniform grid