29#include "surfaceTensionModel.H"
52 <<
"Requested from phase from an unordered pair."
62 <<
"Requested to phase from an unordered pair."
72 name2[0] = toupper(name2[0]);
73 return first() +
"And" + name2;
const word & first() const noexcept
const word & second() const noexcept
bool ordered() const noexcept
Return the ordered flag.
phasePairKey()=default
Default construct.
virtual const multiphaseInter::phaseModel & from() const
From phase.
virtual const multiphaseInter::phaseModel & to() const
To phase.
virtual word name() const
Pair name.
phasePair(const multiphaseInter::phaseModel &phase1, const multiphaseInter::phaseModel &phase2, const bool ordered=false)
Construct from two phases.
const multiphaseInter::phaseModel & phase1() const
const multiphaseInter::phaseModel & phase2() const
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
errorManipArg< error, int > exit(error &err, const int errNo=1)