16 int ndims = solver->
ndims;
17 int ghosts = solver->
ghosts;
29 double local_diff_yx =
absolute(dissp_yx) * dt * dyinv * dxinv;
30 double local_diff_yy =
absolute(dissp_yy) * dt * dyinv * dyinv;
32 if (local_diff_yx > max_diff) max_diff = local_diff_yx;
33 if (local_diff_yy > max_diff) max_diff = local_diff_yy;
MPI related function definitions.
double FPPowerSystem1BusComputeDiffNumber(void *s, void *m, double dt, double t)
Contains function definitions for common mathematical functions.
Some basic definitions and macros.
double FPPowerSystem1BusDissipationFunction(int, 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)
Fokker-Planck Model for 1-Bus Power System.
Contains macros and function definitions for common array operations.