Go to the documentation of this file.
40 Pair<word>(name1, name2),
49 const phasePairKey& a,
56 (a.ordered() ==
b.ordered())
57 && (a.ordered() ? (cmp == 1) : cmp)
64 const phasePairKey& a,
76 const FixedList<word, 3> toks(is);
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 in phaseContinuous) for an ordered pair,"
95 " or (phase1 and phase2) for an unordered pair.\n"
107 os << token::BEGIN_LIST
110 << (
key.ordered() ?
"in" :
"and")
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 &)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
static int compare(const Pair< T > &a, const Pair< T > &b)
const dimensionedScalar b
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
OBJstream os(runTime.globalPath()/outputName)
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
An Ostream is an abstract base class for all output systems (streams, files, token lists,...