27 #ifndef ANTIOCH_PARSER_BASE_H
28 #define ANTIOCH_PARSER_BASE_H
45 template <
class NumericType>
46 class ChemicalMixture;
48 template <
class NumericType>
49 class TransportMixture;
51 template <
typename NumericType,
typename CurveFit>
54 template <
typename NumericType,
typename CurveFit>
55 class NASAThermoMixture;
57 template <
typename NumericType>
60 template <
typename NumericType>
64 template <
typename NumericType>
67 template <
typename NumericType>
68 class CEAThermodynamics;
70 template <
typename NumericType>
74 template <
typename NumericType>
75 class StatMechThermodynamics;
77 template <
typename Macro,
typename NumericType>
78 class IdealGasMicroThermo;
105 template <
typename NumericType>
110 const std::string &
file,
112 const std::string & comments =
"");
120 virtual void change_file(
const std::string & filename) = 0;
272 #endif //ANTIOCH_PARSER_BASE_H
virtual void read_chemical_species(ChemicalMixture< NumericType > &)
reads the mandatory data, not valid in xml && chemkin
virtual const std::string reaction_kinetics_model(const std::vector< std::string > &) const
virtual bool Troe_T1_parameter(NumericType &, std::string &, std::string &) const
#define antioch_not_implemented_msg(errmsg)
ParsingType enum_type() const
virtual const std::string reaction_chemical_process() const
virtual bool rate_constant_lambda_parameter(std::vector< NumericType > &, std::string &, std::string &) const
virtual void read_thermodynamic_data(NASAThermoMixture< NumericType, NASA7CurveFit< NumericType > > &)
thermo
virtual const std::map< std::string, NumericType > reactants_orders() const
return a map between reactants' name and found partial orders
void skip_comments(std::istream &doc)
virtual bool initialize()=0
virtual bool rate_constant_Berthelot_coefficient_parameter(NumericType &, std::string &, std::string &) const
virtual bool Troe_T2_parameter(NumericType &, std::string &, std::string &) const
virtual bool rate_constant_activation_energy_parameter(NumericType &, std::string &, std::string &) const
virtual bool rate_constant_power_parameter(NumericType &, std::string &, std::string &) const
virtual void read_transport_data(TransportMixture< NumericType > &)
reads the transport data, not valid in xml && chemkin
virtual unsigned int where_is_k0(const std::string &) const
virtual const std::map< std::string, NumericType > products_orders() const
return a map between products' name and found partial orders
virtual bool rate_constant_preexponential_parameter(NumericType &, std::string &, std::string &) const
virtual bool Troe_T3_parameter(NumericType &, std::string &, std::string &) const
virtual const std::vector< std::string > species_list()
reads the species set
const std::string type() const
virtual bool rate_constant_Tref_parameter(NumericType &, std::string &, std::string &) const
This class stores the NASA polynomial fit to the thermodynamics quantities and .
virtual bool Troe() const
const std::string file() const
This class only differs from NASA9CurveFit in the construction.
Class storing chemical mixture properties.
virtual bool reactants_pairs(std::vector< std::pair< std::string, int > > &) const
virtual const std::string reaction_id() const
virtual bool rate_constant(const std::string &)
go to next rate constant
virtual const std::string reaction_equation() const
virtual void change_file(const std::string &filename)=0
virtual void read_electronic_data(ChemicalMixture< NumericType > &)
reads the electronic data, not valid in xml && chemkin
virtual bool efficiencies(std::vector< std::pair< std::string, NumericType > > &) const
virtual void read_thermodynamic_data(CEAThermodynamics< NumericType > &)
reads the thermo, CEA deprecated
virtual void read_vibrational_data(ChemicalMixture< NumericType > &)
reads the vibrational data, not valid in xml && chemkin
virtual void read_thermodynamic_data(NASAThermoMixture< NumericType, NASA9CurveFit< NumericType > > &)
reads the thermo, NASA generalist, no templates for virtual
Class storing chemical mixture properties.
The parameters are reduced parameters.
virtual bool verify_Kooij_in_place_of_Arrhenius() const
virtual bool Troe_alpha_parameter(NumericType &, std::string &, std::string &) const
virtual bool rate_constant_cross_section_parameter(std::vector< NumericType > &, std::string &, std::string &) const
virtual bool reaction_reversible() const
virtual bool reaction()
reaction
virtual bool products_pairs(std::vector< std::pair< std::string, int > > &) const
std::string _not_implemented
virtual void read_thermodynamic_data(NASAThermoMixture< NumericType, CEACurveFit< NumericType > > &)
reads the thermo, NASA generalist, no templates for virtual
virtual bool is_k0(unsigned int, const std::string &) const