Alamo
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes
Model::Gas::Thermo::CpConstant Class Reference

#include <CpConstant.H>

Inheritance diagram for Model::Gas::Thermo::CpConstant:
Model::Gas::Thermo::Thermo

Public Member Functions

const char * model_name () const override
 
 CpConstant ()
 
 CpConstant (int a_nspecies, IO::ParmParse &pp, std::string name)
 
 ~CpConstant () override=default
 
double cp_mol (double, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const override
 
double enthalpy_mol (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const override
 
double entropy_mol (double T, Set::Patch< const Set::Scalar > &X, int i, int j, int k) const override
 
- Public Member Functions inherited from Model::Gas::Thermo::Thermo
 Thermo ()
 
virtual ~Thermo ()=default
 

Static Public Member Functions

static void Parse (CpConstant &value, IO::ParmParse &pp)
 

Static Public Attributes

static constexpr const char * name = "cpconstant"
 

Private Attributes

int nspecies = 1
 
std::vector< double > cp_moles
 
std::vector< double > h0
 
std::vector< double > s0
 
std::vector< double > Tref
 

Detailed Description

Definition at line 14 of file CpConstant.H.

Constructor & Destructor Documentation

◆ CpConstant() [1/2]

Model::Gas::Thermo::CpConstant::CpConstant ( )
inline

Definition at line 27 of file CpConstant.H.

◆ CpConstant() [2/2]

Model::Gas::Thermo::CpConstant::CpConstant ( int  a_nspecies,
IO::ParmParse pp,
std::string  name 
)
inline

Definition at line 28 of file CpConstant.H.

◆ ~CpConstant()

Model::Gas::Thermo::CpConstant::~CpConstant ( )
overridedefault

Member Function Documentation

◆ cp_mol()

double Model::Gas::Thermo::CpConstant::cp_mol ( double  ,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inlineoverridevirtual

Implements Model::Gas::Thermo::Thermo.

Definition at line 54 of file CpConstant.H.

◆ enthalpy_mol()

double Model::Gas::Thermo::CpConstant::enthalpy_mol ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inlineoverridevirtual

Implements Model::Gas::Thermo::Thermo.

Definition at line 60 of file CpConstant.H.

◆ entropy_mol()

double Model::Gas::Thermo::CpConstant::entropy_mol ( double  T,
Set::Patch< const Set::Scalar > &  X,
int  i,
int  j,
int  k 
) const
inlineoverridevirtual

Implements Model::Gas::Thermo::Thermo.

Definition at line 66 of file CpConstant.H.

◆ model_name()

const char * Model::Gas::Thermo::CpConstant::model_name ( ) const
inlineoverridevirtual

Implements Model::Gas::Thermo::Thermo.

Definition at line 17 of file CpConstant.H.

◆ Parse()

static void Model::Gas::Thermo::CpConstant::Parse ( CpConstant value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 36 of file CpConstant.H.

Field Documentation

◆ cp_moles

std::vector<double> Model::Gas::Thermo::CpConstant::cp_moles
private

Definition at line 21 of file CpConstant.H.

◆ h0

std::vector<double> Model::Gas::Thermo::CpConstant::h0
private

Definition at line 22 of file CpConstant.H.

◆ name

constexpr const char* Model::Gas::Thermo::CpConstant::name = "cpconstant"
staticconstexpr

Definition at line 16 of file CpConstant.H.

◆ nspecies

int Model::Gas::Thermo::CpConstant::nspecies = 1
private

Definition at line 20 of file CpConstant.H.

◆ s0

std::vector<double> Model::Gas::Thermo::CpConstant::s0
private

Definition at line 23 of file CpConstant.H.

◆ Tref

std::vector<double> Model::Gas::Thermo::CpConstant::Tref
private

Definition at line 24 of file CpConstant.H.


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