Go to the documentation of this file.
44 return &phase1_ == &
phase || & phase2_ == &
phase;
53 if (&phase1_ == &
phase)
57 else if (&phase2_ == &phase)
64 <<
"this phasePair does not contain phase " << phase.
name()
74 if (&phase1_ == &phase)
78 else if (&phase2_ == &phase)
85 <<
"this phasePair does not contain phase " << phase.name()
101 inline Foam::phasePair::const_iterator::const_iterator
103 const phasePair& pair,
112 inline Foam::phasePair::const_iterator::const_iterator(
const phasePair& pair)
124 inline bool Foam::phasePair::const_iterator::operator==
129 return (this->index_ == iter.index_);
133 inline bool Foam::phasePair::const_iterator::operator!=
147 return pair_.phase1_;
151 return pair_.phase2_;
168 return pair_.phase2_;
172 return pair_.phase1_;
214 return const_iterator(*
this, 2);
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
const phaseModel & operator()() const
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const_iterator cbegin() const
label index(const phaseModel &phase) const
const_iterator & operator++()
const uniformDimensionedVectorField & g() const
const phaseModel & operator*() const
bool contains(const phaseModel &phase) const
errorManipArg< error, int > exit(error &err, const int errNo=1)
const word & name() const
const word & name() const
#define FatalErrorInFunction
friend bool operator==(const phasePairKey &a, const phasePairKey &b)
const_iterator cend() const
tmp< faMatrix< Type > > operator*(const areaScalarField &, const faMatrix< Type > &)
const_iterator end() const
const phaseModel & phase2() const
const phaseModel & otherPhase() const
const phaseModel & phase1() const
const phaseModel & otherPhase(const phaseModel &phase) const
const_iterator begin() const