antioch-0.4.0
|
#include "antioch/vector_utils_decl.h"
#include "antioch/physical_constants.h"
#include "antioch/reaction_set.h"
#include "antioch/chemical_species.h"
#include "antioch/chemical_mixture.h"
#include "antioch/read_reaction_set_data.h"
#include "antioch/units.h"
#include "antioch/vector_utils.h"
#include <cmath>
#include <limits>
Go to the source code of this file.
Functions | |
template<typename Scalar > | |
Scalar | HE (const Scalar &T, const Scalar &Cf, const Scalar &eta, const Scalar &Tf=1.) |
template<typename Scalar > | |
Scalar | Bert (const Scalar &T, const Scalar &Cf, const Scalar &D) |
template<typename Scalar > | |
Scalar | BHE (const Scalar &T, const Scalar &Cf, const Scalar &eta, const Scalar &D, const Scalar &Tf=1.) |
template<typename Scalar > | |
Scalar | Arrh (const Scalar &T, const Scalar &Cf, const Scalar &Ea, const Scalar &R=Antioch::Constants::R_universal< Scalar >()) |
template<typename Scalar > | |
Scalar | Kooij (const Scalar &T, const Scalar &Cf, const Scalar &eta, const Scalar &Ea, const Scalar &Tf=1., const Scalar &R=Antioch::Constants::R_universal< Scalar >()) |
template<typename Scalar > | |
Scalar | VH (const Scalar &T, const Scalar &Cf, const Scalar &eta, const Scalar &Ea, const Scalar &D, const Scalar &Tf=1., const Scalar &R=Antioch::Constants::R_universal< Scalar >()) |
template<typename Scalar > | |
Scalar | FcentTroe (const Scalar &T, const Scalar &alpha, const Scalar &T3, const Scalar &T1, const Scalar &T2=-1.) |
template<typename Scalar > | |
Scalar | coeffTroe (const Scalar &coef1, const Scalar &coef2, const Scalar &Fcent) |
template<typename Scalar > | |
Scalar | cTroe (const Scalar &Fcent) |
template<typename Scalar > | |
Scalar | nTroe (const Scalar &Fcent) |
template<typename Scalar > | |
Scalar | FTroe (const Scalar &Fcent, const Scalar &Pr) |
template<typename VectorScalar > | |
Antioch::value_type < VectorScalar >::type | k_photo (const VectorScalar &solar_lambda, const VectorScalar &solar_irr, const VectorScalar &sigma_lambda, const VectorScalar &sigma_sigma) |
template<typename Scalar > | |
int | tester (const std::string &kin_file, const std::string &solar_file, const std::string &CH4_cs_file) |
int | main (int argc, char *argv[]) |
Scalar Arrh | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | Ea, | ||
const Scalar & | R = Antioch::Constants::R_universal<Scalar>() |
||
) |
Definition at line 61 of file parsing_xml.C.
Referenced by tester().
Scalar Bert | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | D | ||
) |
Definition at line 49 of file parsing_xml.C.
Referenced by tester().
Scalar BHE | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | eta, | ||
const Scalar & | D, | ||
const Scalar & | Tf = 1. |
||
) |
Definition at line 55 of file parsing_xml.C.
References std::pow().
Referenced by tester().
Scalar coeffTroe | ( | const Scalar & | coef1, |
const Scalar & | coef2, | ||
const Scalar & | Fcent | ||
) |
Definition at line 88 of file parsing_xml.C.
Scalar cTroe | ( | const Scalar & | Fcent | ) |
Definition at line 94 of file parsing_xml.C.
References coeffTroe().
Referenced by FTroe().
Scalar FcentTroe | ( | const Scalar & | T, |
const Scalar & | alpha, | ||
const Scalar & | T3, | ||
const Scalar & | T1, | ||
const Scalar & | T2 = -1. |
||
) |
Scalar FTroe | ( | const Scalar & | Fcent, |
const Scalar & | Pr | ||
) |
Definition at line 110 of file parsing_xml.C.
References cTroe(), nTroe(), and std::pow().
Referenced by tester().
Scalar HE | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | eta, | ||
const Scalar & | Tf = 1. |
||
) |
Definition at line 44 of file parsing_xml.C.
References std::pow().
Referenced by tester().
Antioch::value_type<VectorScalar>::type k_photo | ( | const VectorScalar & | solar_lambda, |
const VectorScalar & | solar_irr, | ||
const VectorScalar & | sigma_lambda, | ||
const VectorScalar & | sigma_sigma | ||
) |
Definition at line 119 of file parsing_xml.C.
References Antioch::SigmaBinConverter< VectorCoeffType >::y_on_custom_grid().
Referenced by tester().
Scalar Kooij | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | eta, | ||
const Scalar & | Ea, | ||
const Scalar & | Tf = 1. , |
||
const Scalar & | R = Antioch::Constants::R_universal<Scalar>() |
||
) |
Definition at line 67 of file parsing_xml.C.
References std::pow().
Referenced by tester().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 563 of file parsing_xml.C.
Scalar nTroe | ( | const Scalar & | Fcent | ) |
Definition at line 102 of file parsing_xml.C.
References coeffTroe().
Referenced by FTroe().
int tester | ( | const std::string & | kin_file, |
const std::string & | solar_file, | ||
const std::string & | CH4_cs_file | ||
) |
Elementary, + Kooij - Arrhenius conversion tested
Duplicate
Lindemann Falloff
Definition at line 136 of file parsing_xml.C.
References Antioch::KineticsModel::A, Antioch::KineticsConditions< StateType, VectorStateType >::add_particle_flux(), Arrh(), Bert(), BHE(), Antioch::Reaction< CoeffType, VectorCoeffType >::compute_forward_rate_coefficient(), Antioch::KineticsModel::D, Antioch::Units< T >::factor_to_some_unit(), FcentTroe(), FTroe(), Antioch::Units< T >::get_SI_factor(), HE(), k_photo(), Kooij(), Antioch::ReactionSet< CoeffType >::reaction(), and VH().
Scalar VH | ( | const Scalar & | T, |
const Scalar & | Cf, | ||
const Scalar & | eta, | ||
const Scalar & | Ea, | ||
const Scalar & | D, | ||
const Scalar & | Tf = 1. , |
||
const Scalar & | R = Antioch::Constants::R_universal<Scalar>() |
||
) |
Definition at line 74 of file parsing_xml.C.
References std::pow().
Referenced by tester().