MAST
MAST::PrimitiveSolution Class Reference

Class defines the conversion and some basic operations on primitive fluid variables used in calculation of flux, Jacobians, etc. More...

#include <primitive_fluid_solution.h>

Public Member Functions

 PrimitiveSolution ()
 
void zero ()
 
void init (const unsigned int dim, const RealVectorX &conservative_sol, const Real cp_val, const Real cv_val, bool if_viscous)
 
void print (std::ostream &out) const
 
Real c_pressure (const Real p0, const Real q0) const
 
void get_uvec (RealVectorX &u) const
 

Public Attributes

RealVectorX primitive_sol
 
unsigned int dimension
 
Real cp
 
Real cv
 
Real rho
 
Real u1
 
Real u2
 
Real u3
 
Real T
 
Real p
 
Real a
 
Real e_tot
 
Real k
 
Real entropy
 
Real mach
 
Real Pr
 
Real k_thermal
 
Real mu
 
Real lambda
 

Detailed Description

Class defines the conversion and some basic operations on primitive fluid variables used in calculation of flux, Jacobians, etc.

Definition at line 34 of file primitive_fluid_solution.h.

Constructor & Destructor Documentation

MAST::PrimitiveSolution::PrimitiveSolution ( )

Definition at line 28 of file primitive_fluid_solution.cpp.

Here is the call graph for this function:

Member Function Documentation

Real MAST::PrimitiveSolution::c_pressure ( const Real  p0,
const Real  q0 
) const

Definition at line 118 of file primitive_fluid_solution.cpp.

Here is the caller graph for this function:

void MAST::PrimitiveSolution::get_uvec ( RealVectorX u) const

Definition at line 127 of file primitive_fluid_solution.cpp.

Here is the caller graph for this function:

void MAST::PrimitiveSolution::init ( const unsigned int  dim,
const RealVectorX conservative_sol,
const Real  cp_val,
const Real  cv_val,
bool  if_viscous 
)

Definition at line 62 of file primitive_fluid_solution.cpp.

Here is the caller graph for this function:

void MAST::PrimitiveSolution::print ( std::ostream &  out) const

Definition at line 144 of file primitive_fluid_solution.cpp.

void MAST::PrimitiveSolution::zero ( )

Definition at line 35 of file primitive_fluid_solution.cpp.

Here is the caller graph for this function:

Member Data Documentation

Real MAST::PrimitiveSolution::a

Definition at line 73 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::cp

Definition at line 57 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::cv

Definition at line 59 of file primitive_fluid_solution.h.

unsigned int MAST::PrimitiveSolution::dimension

Definition at line 55 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::e_tot

Definition at line 75 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::entropy

Definition at line 79 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::k

Definition at line 77 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::k_thermal

Definition at line 86 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::lambda

Definition at line 90 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::mach

Definition at line 81 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::mu

Definition at line 88 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::p

Definition at line 71 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::Pr

Definition at line 84 of file primitive_fluid_solution.h.

RealVectorX MAST::PrimitiveSolution::primitive_sol

Definition at line 53 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::rho

Definition at line 61 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::T

Definition at line 69 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::u1

Definition at line 63 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::u2

Definition at line 65 of file primitive_fluid_solution.h.

Real MAST::PrimitiveSolution::u3

Definition at line 67 of file primitive_fluid_solution.h.


The documentation for this class was generated from the following files: