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;
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
double FPPowerSystemComputeDiffNumber(void *s, void *m, double dt, double t)
MPI related function definitions.
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
double FPPowerSystemDissipationFunction(int, void *, double)
Contains function definitions for common mathematical functions.
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.