An ordered or unorder pair of phase names. Typically specified as follows. More...
Classes | |
struct | hasher |
Public Types | |
using | hash = phasePairKey::hasher |
using | hash = phasePairKey::hasher |
using | hash = phasePairKey::hasher |
Public Member Functions | |
phasePairKey ()=default | |
phasePairKey (const word &name1, const word &name2, const bool ordered=false) | |
virtual | ~phasePairKey ()=default |
bool | ordered () const noexcept |
phasePairKey ()=default | |
phasePairKey (const word &name1, const word &name2, const bool ordered=false) | |
virtual | ~phasePairKey ()=default |
bool | ordered () const noexcept |
phasePairKey ()=default | |
phasePairKey (const word &name1, const word &name2, const bool ordered=false) | |
virtual | ~phasePairKey ()=default |
bool | ordered () const noexcept |
![]() | |
Pair ()=default | |
Pair (const T &f, const T &s) | |
Pair (T &&f, T &&s) | |
Pair (const std::pair< T, T > &vals) | |
Pair (std::pair< T, T > &&vals) | |
Pair (const FixedList< T, 2 > &list) | |
Pair (const T &f, const T &s, const bool doSort) | |
Pair (const FixedList< T, 2 > &list, const bool doSort) | |
Pair (Istream &is) | |
const T & | second () const noexcept |
T & | second () noexcept |
const T & | other (const T &a) const |
bool | sorted () const |
void | flip () |
void | sort () |
Friends | |
bool | operator== (const phasePairKey &a, const phasePairKey &b) |
bool | operator!= (const phasePairKey &a, const phasePairKey &b) |
Istream & | operator>> (Istream &is, phasePairKey &key) |
Ostream & | operator<< (Ostream &os, const phasePairKey &key) |
bool | operator== (const phasePairKey &a, const phasePairKey &b) |
bool | operator!= (const phasePairKey &a, const phasePairKey &b) |
Istream & | operator>> (Istream &is, phasePairKey &key) |
Ostream & | operator<< (Ostream &os, const phasePairKey &key) |
bool | operator== (const phasePairKey &a, const phasePairKey &b) |
bool | operator!= (const phasePairKey &a, const phasePairKey &b) |
Istream & | operator>> (Istream &is, phasePairKey &key) |
Ostream & | operator<< (Ostream &os, const phasePairKey &key) |
Additional Inherited Members | |
![]() | |
static int | compare (const Pair< T > &a, const Pair< T > &b) |
An ordered or unorder pair of phase names. Typically specified as follows.
(phase1 and phase2) // unordered (phase1 to phase2) // ordered
(phase1 and phase2) // unordered (phase1 in phase2) // ordered
(phase1 and phase2) // unordered (phase1 in phase2) // ordered
Definition at line 61 of file phasePairKey.H.
using hash = phasePairKey::hasher |
Definition at line 134 of file phasePairKey.H.
using hash = phasePairKey::hasher |
Definition at line 134 of file phasePairKey.H.
using hash = phasePairKey::hasher |
Definition at line 134 of file phasePairKey.H.
|
default |
phasePairKey | ( | const word & | name1, |
const word & | name2, | ||
const bool | ordered = false |
||
) |
Definition at line 27 of file phasePairKey.C.
|
virtualdefault |
|
default |
phasePairKey | ( | const word & | name1, |
const word & | name2, | ||
const bool | ordered = false |
||
) |
|
virtualdefault |
|
default |
phasePairKey | ( | const word & | name1, |
const word & | name2, | ||
const bool | ordered = false |
||
) |
|
virtualdefault |
|
inlinenoexcept |
Definition at line 94 of file phasePairKey.H.
Referenced by phaseForces::execute(), OneResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), TwoResistanceHeatTransferPhaseSystem< BasePhaseSystem >::heatTransfer(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::heatTransfer(), InterfaceCompositionPhaseChangePhaseSystem< BasePhaseSystem >::InterfaceCompositionPhaseChangePhaseSystem(), PopulationBalancePhaseSystem< BasePhaseSystem >::massTransfer(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::massTransfer(), Foam::operator==(), phaseForces::phaseForces(), PopulationBalancePhaseSystem< BasePhaseSystem >::PopulationBalancePhaseSystem(), and ThermalPhaseChangePhaseSystem< BasePhaseSystem >::ThermalPhaseChangePhaseSystem().
|
inlinenoexcept |
Definition at line 94 of file phasePairKey.H.
|
inlinenoexcept |
Definition at line 94 of file phasePairKey.H.
|
friend |
Referenced by phasePair::const_iterator::operator!=().
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.