|
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Contains the function to compute maximum CFL over the domain for the 2D shallow water equations physical model. More...
#include <stdlib.h>#include <basic.h>#include <math.h>#include <arrayfunctions.h>#include <mathfunctions.h>#include <physicalmodels/shallowwater2d.h>#include <hypar.h>Go to the source code of this file.
Functions | |
| double | ShallowWater2DComputeCFL (void *s, void *m, double dt, double t) |
Contains the function to compute maximum CFL over the domain for the 2D shallow water equations physical model.
Definition in file ShallowWater2DComputeCFL.c.
| double ShallowWater2DComputeCFL | ( | void * | s, |
| void * | m, | ||
| double | dt, | ||
| double | t | ||
| ) |
Computes the maximum CFL number over the domain. Note that the CFL is computed over the local domain on this processor only.
| s | Solver object of type HyPar |
| m | MPI object of type MPIVariables |
| dt | Time step size for which to compute the CFL |
| t | Time |
Definition at line 17 of file ShallowWater2DComputeCFL.c.