HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Compute the maximum CFL. More...
#include <float.h>
#include <arrayfunctions.h>
#include <physicalmodels/linearadr.h>
#include <mpivars.h>
#include <hypar.h>
Go to the source code of this file.
Functions | |
double | LinearADRComputeCFL (void *s, void *m, double dt, double t) |
Compute the maximum CFL.
Definition in file LinearADRComputeCFL.c.
double LinearADRComputeCFL | ( | 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 15 of file LinearADRComputeCFL.c.