16 int ndims = solver->
ndims;
17 int ghosts = solver->
ghosts;
31 double local_cfl_x =
absolute(drift_x) * dt * dxinv;
32 double local_cfl_y =
absolute(drift_y) * dt * dyinv;
34 if (local_cfl_x > max_cfl) max_cfl = local_cfl_x;
35 if (local_cfl_y > max_cfl) max_cfl = local_cfl_y;
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
MPI related function definitions.
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
double FPPowerSystem1BusComputeCFL(void *s, void *m, double dt, double t)
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 FPPowerSystem1BusDriftFunction(int, void *, double, double, double)
Structure containing all solver-specific variables and functions.
Fokker-Planck Model for 1-Bus Power System.