MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::PrimitiveSolution Class Reference

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.

#include <primitive_fluid_solution.h>

Public Member Functions

 PrimitiveSolution ()
 
Real c_pressure (const Real p0, const Real q0) const
 
void get_uvec (RealVectorX &u) const
 
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
 
void zero ()
 

Public Attributes

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

Constructor & Destructor Documentation

◆ PrimitiveSolution()

MAST::PrimitiveSolution::PrimitiveSolution ( )

Definition at line 28 of file primitive_fluid_solution.cpp.

Member Function Documentation

◆ c_pressure()

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

Definition at line 118 of file primitive_fluid_solution.cpp.

◆ get_uvec()

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

Definition at line 127 of file primitive_fluid_solution.cpp.

◆ init()

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.

◆ print()

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

Definition at line 144 of file primitive_fluid_solution.cpp.

◆ zero()

void MAST::PrimitiveSolution::zero ( )

Definition at line 35 of file primitive_fluid_solution.cpp.

Member Data Documentation

◆ a

Real MAST::PrimitiveSolution::a

Definition at line 73 of file primitive_fluid_solution.h.

◆ cp

Real MAST::PrimitiveSolution::cp

Definition at line 57 of file primitive_fluid_solution.h.

◆ cv

Real MAST::PrimitiveSolution::cv

Definition at line 59 of file primitive_fluid_solution.h.

◆ dimension

unsigned int MAST::PrimitiveSolution::dimension

Definition at line 55 of file primitive_fluid_solution.h.

◆ e_tot

Real MAST::PrimitiveSolution::e_tot

Definition at line 75 of file primitive_fluid_solution.h.

◆ entropy

Real MAST::PrimitiveSolution::entropy

Definition at line 79 of file primitive_fluid_solution.h.

◆ k

Real MAST::PrimitiveSolution::k

Definition at line 77 of file primitive_fluid_solution.h.

◆ k_thermal

Real MAST::PrimitiveSolution::k_thermal

Definition at line 86 of file primitive_fluid_solution.h.

◆ lambda

Real MAST::PrimitiveSolution::lambda

Definition at line 90 of file primitive_fluid_solution.h.

◆ mach

Real MAST::PrimitiveSolution::mach

Definition at line 81 of file primitive_fluid_solution.h.

◆ mu

Real MAST::PrimitiveSolution::mu

Definition at line 88 of file primitive_fluid_solution.h.

◆ p

Real MAST::PrimitiveSolution::p

Definition at line 71 of file primitive_fluid_solution.h.

◆ Pr

Real MAST::PrimitiveSolution::Pr

Definition at line 84 of file primitive_fluid_solution.h.

◆ primitive_sol

RealVectorX MAST::PrimitiveSolution::primitive_sol

Definition at line 53 of file primitive_fluid_solution.h.

◆ rho

Real MAST::PrimitiveSolution::rho

Definition at line 61 of file primitive_fluid_solution.h.

◆ T

Real MAST::PrimitiveSolution::T

Definition at line 69 of file primitive_fluid_solution.h.

◆ u1

Real MAST::PrimitiveSolution::u1

Definition at line 63 of file primitive_fluid_solution.h.

◆ u2

Real MAST::PrimitiveSolution::u2

Definition at line 65 of file primitive_fluid_solution.h.

◆ u3

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: