39 template <
typename NumericType>
43 std::vector<std::string> species = parser->
species_list();
48 template<
class NumericType>
66 std::cerr <<
"Molecule(s) is(are) missing. Please update the information."
67 <<
" Currently using file " << parser->
file() <<
".\n"
68 <<
"Missing molecule(s) is(are):" << std::endl;
69 for(
unsigned int i = 0; i < chem_mixture.
species_list().size(); i++)
80 template<
class NumericType>
87 std::vector<std::string> missing;
94 std::cout <<
"WARNING:\nVibrational levels are missing. Please update the information."
95 <<
" Currently using file " << parser->
file() <<
".\n"
96 <<
"Missing molecule(s) is(are):" << std::endl;
97 for(
unsigned int m = 0; m < missing.size(); m++)std::cerr << missing[m] << std::endl;
102 template<
class NumericType>
110 std::vector<std::string> missing;
117 std::cerr <<
"WARNING:\nElectronic levels are missing. Please update the information."
118 <<
" Currently using file " << parser->
file() <<
".\n"
119 <<
"Missing molecule(s) is(are):" << std::endl;
120 for(
unsigned int m = 0; m < missing.size(); m++)std::cerr << missing[m] << std::endl;
virtual void read_chemical_species(ChemicalMixture< NumericType > &)
reads the mandatory data, not valid in xml && chemkin
void read_species_electronic_data(ParserBase< NumericType > *parser, ChemicalMixture< NumericType > &chem_mixture)
ANTIOCH_SPECIES_PARSING_INSTANTIATE()
const std::vector< Species > & species_list() const
void read_species_data(ParserBase< NumericType > *parser, ChemicalMixture< NumericType > &chem_mixture)
void read_species_vibrational_data(ParserBase< NumericType > *parser, ChemicalMixture< NumericType > &chem_mixture)
virtual const std::vector< std::string > species_list()
reads the species set
const std::string file() const
const std::map< Species, std::string > & species_inverse_name_map() const
void initialize_species(const std::vector< std::string > &species_list)
method to initialize, backward compatibility
virtual void read_electronic_data(ChemicalMixture< NumericType > &)
reads the electronic data, not valid in xml && chemkin
void read_chemical_species_composition(ParserBase< NumericType > *parser, ChemicalMixture< NumericType > &mixture)
virtual void read_vibrational_data(ChemicalMixture< NumericType > &)
reads the vibrational data, not valid in xml && chemkin
Class storing chemical mixture properties.
The parameters are reduced parameters.
A parser is an instance related to a file.
const std::vector< ChemicalSpecies< CoeffType > * > & chemical_species() const