Go to the documentation of this file.
43 #ifndef phasePairKey_H
44 #define phasePairKey_H
56 bool operator==(
const phasePairKey& a,
const phasePairKey&
b);
57 bool operator!=(
const phasePairKey& a,
const phasePairKey&
b);
Hashing functor for phasePairKey.
virtual ~phasePairKey()=default
Destructor.
auto key(const Type &t) -> typename std::enable_if< std::is_enum< Type >::value, typename std::underlying_type< Type >::type >::type
friend Istream & operator>>(Istream &is, phasePairKey &key)
Read from Istream.
Istream & operator>>(Istream &, directionInfo &)
phasePairKey()=default
Default construct.
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
friend Ostream & operator<<(Ostream &os, const phasePairKey &key)
Write to Ostream.
bool ordered() const noexcept
Return the ordered flag.
Hash function class. The default definition is for primitives. Non-primitives used to hash entries on...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
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)
friend bool operator==(const phasePairKey &a, const phasePairKey &b)
Test for equality.
An ordered pair of two objects of type <T> with first() and second() elements.
friend bool operator!=(const phasePairKey &a, const phasePairKey &b)
Test for inequality.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
unsigned operator()(const phasePairKey &key) const