Flow123d
jenkins-Flow123d-windows-release-multijob-285
|
#include <substance.hh>
Public Member Functions | |
Substance () | |
Default constructor. More... | |
Substance (const Input::Record &in_rec) | |
Initialization from input tree. More... | |
std::string | name () const |
Getter for substance name. More... | |
double | molar_mass () const |
Getter for molar mass. More... | |
Static Public Attributes | |
static Input::Type::Record | input_type |
Input type for a substance. More... | |
Protected Attributes | |
std::string | name_ |
Name of a chemical substance. More... | |
double | molar_mass_ |
Molar mass [kg/mol] of the substance. More... | |
Friends | |
class | SubstanceList |
Class Substance is a storage for data which are specific for a (chemical) substance. The purpose is to easily share them among equations (e.g. between transport and reactions).
Definition at line 44 of file substance.hh.
Substance::Substance | ( | ) |
Default constructor.
Definition at line 50 of file substance.cc.
Substance::Substance | ( | const Input::Record & | in_rec | ) |
Initialization from input tree.
Definition at line 56 of file substance.cc.
|
inline |
Getter for molar mass.
Definition at line 58 of file substance.hh.
|
inline |
Getter for substance name.
Definition at line 55 of file substance.hh.
|
friend |
Definition at line 72 of file substance.hh.
|
static |
Input type for a substance.
Definition at line 62 of file substance.hh.
|
protected |
Molar mass [kg/mol] of the substance.
Definition at line 70 of file substance.hh.
|
protected |
Name of a chemical substance.
Definition at line 67 of file substance.hh.