HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Euler1DEigen.c
Go to the documentation of this file.
1 
5 #include <stdlib.h>
6 #include <math.h>
7 #include <basic.h>
8 #include <arrayfunctions.h>
9 #include <mathfunctions.h>
10 #include <physicalmodels/euler1d.h>
11 #include <hypar.h>
12 
20  double *u,
21  double *L,
23  void *p,
24  int dir
25  )
26 {
27  Euler1D *param = (Euler1D*) p;
28  _Euler1DLeftEigenvectors_(u,L,param,dir);
29  return(0);
30 }
31 
39  double *u,
40  double *R,
42  void *p,
43  int dir
44  )
45 {
46  Euler1D *param = (Euler1D*) p;
47  _Euler1DRightEigenvectors_(u,R,param,dir);
48  return(0);
49 }
#define _Euler1DRightEigenvectors_(u, R, p, dir)
Definition: euler1d.h:249
int Euler1DRightEigenvectors(double *u, double *R, void *p, int dir)
Definition: Euler1DEigen.c:38
Contains function definitions for common mathematical functions.
Contains structure definition for hypar.
int Euler1DLeftEigenvectors(double *u, double *L, void *p, int dir)
Definition: Euler1DEigen.c:19
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
1D Euler Equations (inviscid, compressible flows)
Structure containing variables and parameters specific to the 1D Euler equations. This structure cont...
Definition: euler1d.h:273
#define _Euler1DLeftEigenvectors_(u, L, p, dir)
Definition: euler1d.h:225