Alamo
Public Member Functions | Private Attributes | Static Private Attributes
Model::Propellant::Propellant< OBJ > Class Template Reference

#include <Propellant.H>

Public Member Functions

template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE void set_pressure (Set::Scalar P)
 
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar get_K (const Set::Scalar phi)
 
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar get_rho (const Set::Scalar phi)
 
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar get_cp (const Set::Scalar phi)
 
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar get_qdot (const Set::Scalar mdot, const Set::Scalar phi)
 
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar get_L (const Set::Scalar phi, const Set::Scalar T)
 

Private Attributes

std::tuple< OBJ... > obj
 
int selected = -1
 

Static Private Attributes

static constexpr const char * names [] = { OBJ::name... }
 

Detailed Description

template<typename... OBJ>
class Model::Propellant::Propellant< OBJ >

Definition at line 28 of file Propellant.H.

Member Function Documentation

◆ get_cp()

template<typename... OBJ>
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Model::Propellant::Propellant< OBJ >::get_cp ( const Set::Scalar  phi)
inline

Definition at line 78 of file Propellant.H.

◆ get_K()

template<typename... OBJ>
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Model::Propellant::Propellant< OBJ >::get_K ( const Set::Scalar  phi)
inline

Definition at line 52 of file Propellant.H.

◆ get_L()

template<typename... OBJ>
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Model::Propellant::Propellant< OBJ >::get_L ( const Set::Scalar  phi,
const Set::Scalar  T 
)
inline

Definition at line 104 of file Propellant.H.

◆ get_qdot()

template<typename... OBJ>
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Model::Propellant::Propellant< OBJ >::get_qdot ( const Set::Scalar  mdot,
const Set::Scalar  phi 
)
inline

Definition at line 91 of file Propellant.H.

◆ get_rho()

template<typename... OBJ>
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE Set::Scalar Model::Propellant::Propellant< OBJ >::get_rho ( const Set::Scalar  phi)
inline

Definition at line 65 of file Propellant.H.

◆ set_pressure()

template<typename... OBJ>
template<int I = 0>
AMREX_FORCE_INLINE AMREX_GPU_HOST_DEVICE void Model::Propellant::Propellant< OBJ >::set_pressure ( Set::Scalar  P)
inline

Definition at line 40 of file Propellant.H.

Field Documentation

◆ names

template<typename... OBJ>
constexpr const char* Model::Propellant::Propellant< OBJ >::names[] = { OBJ::name... }
staticconstexprprivate

Definition at line 33 of file Propellant.H.

◆ obj

template<typename... OBJ>
std::tuple<OBJ...> Model::Propellant::Propellant< OBJ >::obj
private

Definition at line 32 of file Propellant.H.

◆ selected

template<typename... OBJ>
int Model::Propellant::Propellant< OBJ >::selected = -1
private

Definition at line 34 of file Propellant.H.


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