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)....
substance & operator[](const label i)
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)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture