55 public List<substance>
79 if (volTot > 1.001 || volTot < 0.999)
82 <<
"Sum of volume fractions for Mixture " << name_
83 <<
" = " << volTot <<
endl
84 <<
"Should equal one."
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label size() const
Return the number of elements in the UList.
T & operator[](const label)
Return element of UList.
mixture(Istream &is)
Construct from Istream.
const word & name() const
A class for handling words, derived from string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)