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."
T & operator[](const label)
Return element of UList.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
mixture(Istream &is)
Construct from Istream.
A class for handling words, derived from string.
errorManip< error > abort(error &err)
const word & name() const
label size() const
Return the number of elements in the UList.