HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ShallowWater2DFunctions.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  ShallowWater2D *param = (ShallowWater2D*) p;
24  _ShallowWater2DRoeAverage_(uavg,uL,uR,param);
25  return(0);
26 }
int ShallowWater2DRoeAverage(double *uavg, double *uL, double *uR, void *p)
2D Shallow Water Equations
#define _ShallowWater2DRoeAverage_(uavg, uL, uR, p)
Some basic definitions and macros.
Structure containing variables and parameters specific to the 2D Shallow Water equations. This structure contains the physical parameters, variables, and function pointers specific to the 2D ShallowWater equations.