95 std::shared_ptr<std::vector<std::string> >
names_;
unsigned int size() const
std::shared_ptr< std::vector< std::string > > names_
Auxiliary list of substance names used in some classes.
void initialize(const Input::Array &in_array)
Read from input array.
std::shared_ptr< std::vector< Substance > > substances_
The actual list of substances.
const std::vector< std::string > & names()
const Substance & operator[](unsigned int index)
std::string name() const
Getter for substance name.
double molar_mass() const
Getter for molar mass.
double molar_mass_
Molar mass [kg/mol] of the substance.
static const Input::Type::Record & get_input_type()
Input type for a substance.
Substance()
Default constructor.
std::string name_
Name of a chemical substance.