HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
Euler2DEigen.c
Go to the documentation of this file.
1 #include <stdlib.h>
2 #include <math.h>
3 #include <basic.h>
4 #include <arrayfunctions.h>
5 #include <mathfunctions.h>
7 #include <hypar.h>
8 
9 /*
10 
11  Rohde, A., "Eigenvalues and Eigenvectors of the Euler Equations
12  in General Geometries", AIAA 2001-2609
13 
14 */
15 
16 int Euler2DLeftEigenvectors(double *u,double *L,void *p,int dir)
17 {
18  Euler2D *param = (Euler2D*) p;
19  _Euler2DLeftEigenvectors_(u,L,param,dir);
20  return(0);
21 }
22 
23 int Euler2DRightEigenvectors(double *u,double *R,void *p,int dir)
24 {
25  Euler2D *param = (Euler2D*) p;
26  _Euler2DRightEigenvectors_(u,R,param,dir);
27  return(0);
28 }
Contains function definitions for common mathematical functions.
int Euler2DLeftEigenvectors(double *u, double *L, void *p, int dir)
Definition: Euler2DEigen.c:16
Some basic definitions and macros.
#define _Euler2DLeftEigenvectors_(u, L, p, dir)
Definition: euler2d.h:135
int Euler2DRightEigenvectors(double *u, double *R, void *p, int dir)
Definition: Euler2DEigen.c:23
#define _Euler2DRightEigenvectors_(u, R, p, dir)
Definition: euler2d.h:189
Contains structure definition for hypar.
Contains macros and function definitions for common array operations.