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(* GFunction)(double *, double *, int, void *, double)
int(* SecondDerivativePar)(double *, double *, int, void *, void *)
MPI related function definitions.
Some basic definitions and macros.
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _ArrayIndex1D_(N, imax, i, ghost, index)
int ParabolicFunctionNC1Stage(double *par, double *u, void *s, void *m, double t)
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
Structure of MPI-related variables.
#define _ArrayBlockMultiply_(x, a, n, bs)
int npoints_local_wghosts
Contains macros and function definitions for common array operations.