16 int ghosts = solver->
ghosts;
17 int ndims = solver->
ndims;
24 double dx = 1.0 / solver->
dxinv[index[0]+ghosts];
25 local_sum += (u[p] * dx);
28 double local_integral = local_sum;
29 double global_integral = 0;
MPI related function definitions.
int MPISum_double(double *, double *, int, void *)
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)
#define _ArraySetValue_(x, size, value)
int FPDoubleWellPostStep(double *u, void *s, void *m, double t, int iter)
#define _ArrayIncrementIndex_(N, imax, i, done)
Structure of MPI-related variables.
Contains macros and function definitions for common array operations.