NeoPZ
eulerdif.h
Go to the documentation of this file.
1 
6 #ifndef EULERDIFFUSIONHH
7 #define EULERDIFFUSIONHH
8 
9 #include "pzvec.h"
10 #include "pzfmatrix.h"
11 
43  static STATE fGamma;
44 
45 public:
50  static STATE Pressure(TPZVec<STATE> &U);
52  static void Flux(TPZVec<STATE> &u,TPZVec<STATE> &flux);
53  static void JacobFlux(TPZVec<STATE> &u,TPZFMatrix<STATE> &Ajacob,TPZFMatrix<STATE> &Bjacob);
54  static void JacobFlux(TPZVec<STATE> &U,TPZFMatrix<STATE> &jacob,TPZVec<REAL> &normal);
55 
56  static void ValJacobFlux(TPZVec<STATE> &u,TPZFMatrix<STATE> &valjacob,TPZVec<REAL> &normal);
57 
59  &ATauA,TPZFMatrix<STATE> &ATauB,TPZFMatrix<STATE> &BTauA,TPZFMatrix<STATE> &BTauB);
60 
61  static void InvJacob2d(TPZFMatrix<REAL> &axes,TPZFMatrix<REAL> &jacinv);
62 
63  static void InverseJacob(TPZFMatrix<STATE> &jac);
65  static int main();
66 
67 };
68 
69 #endif
static void Flux(TPZVec< STATE > &u, TPZVec< STATE > &flux)
Calculates the fluxes and .
Definition: eulerdif.cpp:20
static STATE fGamma
Polytropic gas constant.
Definition: eulerdif.h:43
Templated vector implementation.
static void JacobFlux(TPZVec< STATE > &u, TPZFMatrix< STATE > &Ajacob, TPZFMatrix< STATE > &Bjacob)
Definition: eulerdif.cpp:43
static void ValJacobFlux(TPZVec< STATE > &u, TPZFMatrix< STATE > &valjacob, TPZVec< REAL > &normal)
Definition: eulerdif.cpp:77
static STATE Pressure(TPZVec< STATE > &U)
Calculates the pressure from equation of state. It is expected: .
Definition: eulerdif.cpp:14
Contains TPZMatrixclass which implements full matrix (using column major representation).
Implements a numerical diffusivity coeficient for the SUPG method. Analysis: Solving process Analysis...
Definition: eulerdif.h:40
static void MatrixDiff(TPZVec< STATE > &sol, TPZFMatrix< REAL > &axes, TPZFMatrix< REAL > &jacinv, TPZFMatrix< STATE > &ATauA, TPZFMatrix< STATE > &ATauB, TPZFMatrix< STATE > &BTauA, TPZFMatrix< STATE > &BTauB)
Definition: eulerdif.cpp:236
static int main()
Static main for test.
Definition: eulerdif.cpp:314
static void InvJacob2d(TPZFMatrix< REAL > &axes, TPZFMatrix< REAL > &jacinv)
Definition: eulerdif.cpp:218
static void InverseJacob(TPZFMatrix< STATE > &jac)
Definition: eulerdif.cpp:182