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." error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#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.
T & operator[](const label i)
Return element of UList.
A class for handling words, derived from Foam::string.
errorManip< error > abort(error &err)
label size() const noexcept
The number of elements in the List.
const word & name() const