16 int ndims = solver->
ndims;
17 int ghosts = solver->
ghosts;
29 double local_diff_x =
absolute(dissp_x) * dt * dxinv * dxinv;
30 double local_diff_y =
absolute(dissp_y) * dt * dyinv * dyinv;
32 if (local_diff_x > max_diff) max_diff = local_diff_x;
33 if (local_diff_y > max_diff) max_diff = local_diff_y;
MPI related function definitions.
Contains function definitions for common mathematical functions.
Some basic definitions and macros.
double FPPowerSystemDissipationFunction(int, void *, double)
Structure containing all solver-specific variables and functions.
Contains structure definition for hypar.
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
double FPPowerSystemComputeDiffNumber(void *s, void *m, double dt, double t)
Contains macros and function definitions for common array operations.