28 int ndims = solver->
ndims;
29 int ghosts = solver->
ghosts;
31 double *u = solver->
u;
40 for (
int dir=0; dir<ndims; dir++) {
44 double local_cfl = eig*dt*dxinv;
45 if (local_cfl > max_cfl) max_cfl = local_cfl;
MPI related function definitions.
Some basic definitions and macros.
Structure containing all solver-specific variables and functions.
double VlasovComputeCFL(void *s, void *m, double dt, double t)
Contains structure definition for hypar.
#define _ArraySetValue_(x, size, value)
#define _ArrayIncrementIndex_(N, imax, i, done)
#define _GetCoordinate_(dir, i, dim, ghosts, x, coord)
double VlasovAdvectionCoeff(int *, int, void *)
Contains macros and function definitions for common array operations.