57 public List<substance>
76 for (label i = 0; i <
size(); i++)
81 if (volTot > 1.001 || volTot < 0.999)
84 <<
"Sum of volume fractions for Mixture " << name_
85 <<
" = " << volTot <<
endl
86 <<
"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 noexcept
The number of elements in the UList.
T & operator[](const label i)
Return element of UList.
mixture(Istream &is)
Construct from Istream.
const word & name() const
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Ostream & endl(Ostream &os)
Add newline and flush stream.
errorManip< error > abort(error &err)