Go to the documentation of this file.
54 Foam::label Foam::phasePairKey::hash::operator()
85 (a.ordered_ ==
b.ordered_)
86 && (a.ordered_ ? (cmp == 1) : cmp)
107 key.first() = temp[0];
109 if (temp[1] ==
"and")
111 key.ordered_ =
false;
113 else if (temp[1] ==
"to")
120 <<
"Phase pair type is not recognised. "
122 <<
"Use (phaseDispersed to phaseContinuous) for an ordered pair, "
123 <<
"or (phase1 and phase2) for an unordered pair."
140 << (key.ordered_ ?
"to" :
"and")
const T & second() const noexcept
Return second element, which is also the last element.
A class for handling words, derived from Foam::string.
Istream & operator>>(Istream &, directionInfo &)
phasePairKey()
Construct null.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
static int compare(const Pair< T > &a, const Pair< T > &b)
Compare Pairs.
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)....
Hashing function for string and derived string classes.
bool ordered() const
Return the ordered flag.
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,...
Begin list [isseparator].