HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Contains the function to compute maximum CFL over the domain for the Burgers equation. More...
#include <basic.h>
#include <arrayfunctions.h>
#include <physicalmodels/burgers.h>
#include <mpivars.h>
#include <hypar.h>
Go to the source code of this file.
Functions | |
double | BurgersComputeCFL (void *s, void *m, double dt, double t) |
Contains the function to compute maximum CFL over the domain for the Burgers equation.
Definition in file BurgersComputeCFL.c.
double BurgersComputeCFL | ( | 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 BurgersComputeCFL.c.