57 && (a.
ordered() ? (cmp == 1) : cmp)
78 key.first() = toks[0];
79 key.second() = toks[2];
80 const word& order = toks[1];
86 else if (order ==
"and")
93 <<
"Phase pair type is not recognised. " << toks
94 <<
"Use (phaseDispersed to phaseContinuous) for an ordered pair,"
95 " or (phase1 and phase2) for an unordered pair.\n"
110 << (key.ordered() ?
"to" :
"and")
A 1D vector of objects of type <T> with a fixed length <N>.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
An ordered pair of two objects of type <T> with first() and second() elements.
static int compare(const Pair< T > &a, const Pair< T > &b)
Compare Pairs.
An ordered or unorder pair of phase names. Typically specified as follows.
bool ordered() const noexcept
Return the ordered flag.
phasePairKey()=default
Default construct.
@ BEGIN_LIST
Begin list [isseparator].
@ END_LIST
End list [isseparator].
A class for handling words, derived from Foam::string.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
errorManipArg< error, int > exit(error &err, const int errNo=1)