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