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;
MPI related function definitions.
Contains function definitions for common mathematical functions.
double FPPowerSystem1BusDriftFunction(int, void *, double, double, double)
Some basic definitions and macros.
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.
double FPPowerSystem1BusComputeCFL(void *s, void *m, double dt, double t)
Contains macros and function definitions for common array operations.