Ember
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MultiArrheniusInterp Class Reference

#include <chemistry0d.h>

Inheritance diagram for MultiArrheniusInterp:
[legend]

Public Member Functions

std::string type () override
 
void add (size_t rxn_index, ReactionRate &rate) override
 
bool replace (size_t rxn_index, ReactionRate &rate) override
 
void resize (size_t nSpecies, size_t nReactions, size_t nPhases) override
 
void getRateConstants (double *kf) override
 
void processRateConstants_ddT (double *rop, const double *kf, double deltaT) override
 
void processRateConstants_ddP (double *rop, const double *kf, double deltaP) override
 
void processRateConstants_ddM (double *rop, const double *kf, double deltaM, bool overwrite=true) override
 
void update (double T) override
 
void update (double T, double extra) override
 
void update (double T, const vector< double > &extra) override
 
bool update (const ThermoPhase &phase, const Kinetics &kin) override
 
double evalSingle (ReactionRate &rate) override
 

Private Member Functions

void rebuildInterpData (const ThermoPhase &phase, const Kinetics &kin)
 

Private Attributes

Cantera::MultiRate< Cantera::ArrheniusRate, Cantera::ArrheniusData > m_base
 
vector< pair< size_t, size_t > > m_indices
 
size_t m_nReactions = 0
 list of (global index, local index)
 
size_t m_nTemps = 200
 number of temperatures over which to interpolate
 
double m_Tmin = 273
 minimum temperature
 
double m_Tmax = 3500
 maximum temperature
 
dmatrix m_kf_const
 
dmatrix m_kf_slope
 
size_t m_T_index
 
double m_dT
 
double Tprev = 0
 

Member Function Documentation

◆ type()

std::string MultiArrheniusInterp::type ( )
inlineoverride

◆ add()

void MultiArrheniusInterp::add ( size_t  rxn_index,
ReactionRate &  rate 
)
inlineoverride

◆ replace()

bool MultiArrheniusInterp::replace ( size_t  rxn_index,
ReactionRate &  rate 
)
inlineoverride

◆ resize()

void MultiArrheniusInterp::resize ( size_t  nSpecies,
size_t  nReactions,
size_t  nPhases 
)
inlineoverride

◆ getRateConstants()

void MultiArrheniusInterp::getRateConstants ( double *  kf)
inlineoverride

◆ processRateConstants_ddT()

void MultiArrheniusInterp::processRateConstants_ddT ( double *  rop,
const double *  kf,
double  deltaT 
)
inlineoverride

◆ processRateConstants_ddP()

void MultiArrheniusInterp::processRateConstants_ddP ( double *  rop,
const double *  kf,
double  deltaP 
)
inlineoverride

◆ processRateConstants_ddM()

void MultiArrheniusInterp::processRateConstants_ddM ( double *  rop,
const double *  kf,
double  deltaM,
bool  overwrite = true 
)
inlineoverride

◆ update() [1/4]

void MultiArrheniusInterp::update ( double  T)
inlineoverride

◆ update() [2/4]

void MultiArrheniusInterp::update ( double  T,
double  extra 
)
inlineoverride

◆ update() [3/4]

void MultiArrheniusInterp::update ( double  T,
const vector< double > &  extra 
)
inlineoverride

◆ update() [4/4]

bool MultiArrheniusInterp::update ( const ThermoPhase &  phase,
const Kinetics &  kin 
)
inlineoverride

◆ evalSingle()

double MultiArrheniusInterp::evalSingle ( ReactionRate &  rate)
inlineoverride

◆ rebuildInterpData()

void MultiArrheniusInterp::rebuildInterpData ( const ThermoPhase &  phase,
const Kinetics &  kin 
)
private

Member Data Documentation

◆ m_base

Cantera::MultiRate<Cantera::ArrheniusRate, Cantera::ArrheniusData> MultiArrheniusInterp::m_base
private

◆ m_indices

vector<pair<size_t, size_t> > MultiArrheniusInterp::m_indices
private

◆ m_nReactions

size_t MultiArrheniusInterp::m_nReactions = 0
private

list of (global index, local index)

◆ m_nTemps

size_t MultiArrheniusInterp::m_nTemps = 200
private

number of temperatures over which to interpolate

◆ m_Tmin

double MultiArrheniusInterp::m_Tmin = 273
private

minimum temperature

◆ m_Tmax

double MultiArrheniusInterp::m_Tmax = 3500
private

maximum temperature

◆ m_kf_const

dmatrix MultiArrheniusInterp::m_kf_const
private

◆ m_kf_slope

dmatrix MultiArrheniusInterp::m_kf_slope
private

◆ m_T_index

size_t MultiArrheniusInterp::m_T_index
private

◆ m_dT

double MultiArrheniusInterp::m_dT
private

◆ Tprev

double MultiArrheniusInterp::Tprev = 0
private

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