41 double *Func = solver->
fluxC;
42 double *Deriv2 = solver->
Deriv2;
46 int ndims = solver->
ndims;
47 int nvars = solver->
nvars;
48 int ghosts = solver->
ghosts;
50 double *dxinv = solver->
dxinv;
60 for (d = 0; d < ndims; d++) {
61 int size_deriv = 1;
for (i=0; i<ndims; i++) size_deriv *= dim[i];
72 for (v=0; v<nvars; v++)
73 par[nvars*p+v] += ( dxinv[offset+ghosts+index[d]]*dxinv[offset+ghosts+index[d]]
74 * Deriv2[nvars*p+v] );
78 offset += dim[d] + 2*ghosts;
int npoints_local_wghosts
#define _ArraySetValue_(x, size, value)
int ParabolicFunctionNC1Stage(double *par, double *u, void *s, void *m, double t)
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
#define _ArrayBlockMultiply_(x, a, n, bs)
Contains structure definition for hypar.
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
int(* SecondDerivativePar)(double *, double *, int, void *, void *)
Structure of MPI-related variables.
Structure containing all solver-specific variables and functions.
int(* GFunction)(double *, double *, int, void *, double)