Go to the documentation of this file.
57 public List<substance>
76 for (label i = 0; i < size(); i++)
78 volTot += operator[](i).volFrac();
81 if (volTot > 1.001 || volTot < 0.999)
84 <<
"Sum of volume fractions for Mixture " << name_
85 <<
" = " << volTot <<
endl
86 <<
"Should equal one."
A class for handling words, derived from Foam::string.
mixture(Istream &is)
Construct from Istream.
Ostream & endl(Ostream &os)
Add newline and flush stream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const word & name() const
errorManip< error > abort(error &err)
#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...