HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
ShallowWater1DFunctions.c
Go to the documentation of this file.
1 
6 #include <math.h>
7 #include <basic.h>
9 
17  double *uavg,
18  double *uL,
19  double *uR,
20  void *p
21  )
22 {
23  ShallowWater1D *param = (ShallowWater1D*) p;
24  _ShallowWater1DRoeAverage_(uavg,uL,uR,param);
25  return(0);
26 }
Structure containing variables and parameters specific to the 1D Shallow Water equations. This structure contains the physical parameters, variables, and function pointers specific to the 1D ShallowWater equations.
1D Shallow Water Equations
Some basic definitions and macros.
#define _ShallowWater1DRoeAverage_(uavg, uL, uR, p)
int ShallowWater1DRoeAverage(double *uavg, double *uL, double *uR, void *p)