44 return &phase1_ == &phase || & phase2_ == &phase;
53 if (&phase1_ == &phase)
57 else if (&phase2_ == &phase)
64 <<
"this phaseInterface does not contain phase " << phase.
name()
74 if (&phase1_ == &phase)
78 else if (&phase2_ == &phase)
85 <<
"this phaseInterface does not contain phase " << phase.
name()
114 inline Foam::phaseInterface::const_iterator::const_iterator
125 inline Foam::phaseInterface::const_iterator::const_iterator
140 inline bool Foam::phaseInterface::const_iterator::operator==
145 return (this->index_ == iter.index_);
149 inline bool Foam::phaseInterface::const_iterator::operator!=
163 return pair_.phase1_;
167 return pair_.phase2_;
184 return pair_.phase2_;
188 return pair_.phase1_;
tmp< fvMatrix< Type > > operator*(const volScalarField::Internal &, const fvMatrix< Type > &)
const uniformDimensionedVectorField & g() const
Return gravitational acceleration.
const fvMesh & mesh() const
Return the mesh.
const_iterator begin() const
const_iterator set to the beginning of the pair
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
label index() const
Return the current index.
const_iterator cend() const
const_iterator set to beyond the end of the pair
const word & name() const
const phaseModel & phase1() const
Return phase 1.
Class to represent an interface between phases. Derivations can further specify the configuration of ...
const phaseModel & operator()() const
Class to represent a system of phases and model interfacial transfers between them.
tmp< fvMatrix< Type > > operator==(const fvMatrix< Type > &, const fvMatrix< Type > &)
const Mesh & mesh() const
Return mesh.
const phaseModel & otherPhase() const
const phaseModel & phase2() const
Return phase 2.
const_iterator & operator++()
const phaseSystem & fluid() const
Return the phase system.
bool contains(const phaseModel &phase) const
Return true if this phaseInterface contains the given phase.
const phaseSystem & fluid() const
Return the system to which this phase belongs.
Mesh data needed to do the Finite Volume discretisation.
label index(const phaseModel &phase) const
Return the index of the given phase. Generates a FatalError if.
const phaseModel & operator*() const
const_iterator cbegin() const
const_iterator set to the beginning of the pair
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const_iterator end() const
const_iterator set to beyond the end of the pair
const phaseModel & otherPhase(const phaseModel &phase) const
Return the other phase relative to the given phase.