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;
#define _ArraySetValue_(x, size, value)
double FPPowerSystem1BusComputeDiffNumber(void *s, void *m, double dt, double t)
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
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.
double FPPowerSystem1BusDissipationFunction(int, int, void *, double)
Structure containing all solver-specific variables and functions.
Fokker-Planck Model for 1-Bus Power System.