Go to the documentation of this file.
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"
107 os << token::BEGIN_LIST
110 << (
key.ordered() ?
"to" :
"and")
A class for handling words, derived from Foam::string.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
Istream & operator>>(Istream &, directionInfo &)
phasePairKey()=default
Default construct.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
bool ordered() const noexcept
Return the ordered flag.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
An ordered or unorder pair of phase names. Typically specified as follows.
OBJstream os(runTime.globalPath()/outputName)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
A 1D vector of objects of type <T> with a fixed length <N>.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...