HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
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 }
Some basic definitions and macros.
#define _ShallowWater2DRoeAverage_(uavg, uL, uR, p)
2D Shallow Water Equations
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.
int ShallowWater2DRoeAverage(double *uavg, double *uL, double *uR, void *p)