87 unsigned int size()
const {
return substances_->size(); }
95 boost::shared_ptr<std::vector<std::string> >
names_;
105 #endif // SUBSTANCE_HH_
Substance()
Default constructor.
const std::vector< std::string > & names()
boost::shared_ptr< std::vector< Substance > > substances_
The actual list of substances.
static const Input::Type::Record & get_input_type()
Input type for a substance.
const Substance & operator[](unsigned int index)
boost::shared_ptr< std::vector< std::string > > names_
Auxiliary list of substance names used in some classes.
unsigned int size() const
double molar_mass() const
Getter for molar mass.
std::string name_
Name of a chemical substance.
double molar_mass_
Molar mass [kg/mol] of the substance.
std::string name() const
Getter for substance name.