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)
Contains function definitions for common mathematical functions.
double FPPowerSystemDriftFunction(int, void *, double, double, double)
Contains structure definition for hypar.
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
double FPPowerSystemComputeCFL(void *s, void *m, double dt, double t)
Structure containing all solver-specific variables and functions.