HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
NavierStokes2DFunctions.c
Go to the documentation of this file.
1 
5 #include <math.h>
6 #include <basic.h>
8 
16  double *uavg,
17  double *uL,
18  double *uR,
19  void *p
20  )
21 {
22  NavierStokes2D *param = (NavierStokes2D*) p;
23  _NavierStokes2DRoeAverage_(uavg,uL,uR,param->gamma);
24  return(0);
25 }
#define _NavierStokes2DRoeAverage_(uavg, uL, uR, gamma)
2D Navier Stokes equations (compressible flows)
int NavierStokes2DRoeAverage(double *uavg, double *uL, double *uR, void *p)
Some basic definitions and macros.
Structure containing variables and parameters specific to the 2D Navier Stokes equations. This structure contains the physical parameters, variables, and function pointers specific to the 2D Navier-Stokes equations.