38 template<
typename CoeffType>
40 const std::string & filename,
bool verbose,
ParsingType type )
41 : _chemical_mixture( chem_mix),
42 _transport_species(_chemical_mixture.n_species(), NULL )
69 std::cerr <<
"Warning: missing transport data for species "
72 <<
"Be sure to use a transport model that does not require the default data"
80 template<
typename CoeffType>
83 : _chemical_mixture( mixture),
84 _transport_species(_chemical_mixture.n_species(), NULL )
94 std::cerr <<
"Warning: missing transport data for species " <<
_chemical_mixture.species_inverse_name_map().at(
96 <<
"Be sure to use a transport model that does not require the default data"
105 template<
typename CoeffType>
110 it < _transport_species.end(); ++it )
116 template<
typename CoeffType>
119 CoeffType LJ_diameter,
120 CoeffType dipole_moment,
121 CoeffType polarizability,
122 CoeffType rotational_relaxation,
125 Species name_enum = _chemical_mixture.species_list()[index];
132 rotational_relaxation,mass);
std::vector< TransportSpecies< CoeffType > * > _transport_species
void read_transport_species_data(ParserBase< NumericType > *parser, TransportMixture< NumericType > &transport)
Class to encapsulate data relevant for transport for each chemical species.
void add_species(const unsigned int index, CoeffType LJ_depth, CoeffType LJ_diameter, CoeffType dipole_moment, CoeffType polarizability, CoeffType rotational_relaxation, CoeffType mass)
Class storing chemical mixture properties.
const ChemicalMixture< CoeffType > & _chemical_mixture
Nothing is stored, this parser is based on the tinyxml2 implementation.
#define antioch_parsing_error(description)
Class storing chemical mixture properties.
The parameters are reduced parameters.
ANTIOCH_NUMERIC_TYPE_CLASS_INSTANTIATE(Antioch::TransportMixture)
A parser is an instance related to a file.
ChemKin format file reader.