14 #undef _MINIMUM_GHOSTS_
18 #define _MINIMUM_GHOSTS_ 1
47 int ghosts = solver->
ghosts;
48 int ndims = solver->
ndims;
49 int nvars = solver->
nvars;
54 fprintf(stderr,
"Error in SecondDerivativeSecondOrder(): input arrays not allocated.\n");
58 fprintf(stderr,
"Error in SecondDerivativeSecondOrder(): insufficient number of ghosts.\n");
64 int indexC[ndims], index_outer[ndims], bounds_outer[ndims];
70 for (i = 0; i < dim[dir]; i++) {
75 for (v=0; v<nvars; v++) D2f[qC*nvars+v] = f[qL*nvars+v]-2*f[qC*nvars+v]+f[qR*nvars+v];
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
Definitions for the functions computing the second derivative.
int SecondDerivativeSecondOrderCentral(double *, double *, int, void *, void *)
#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.