Identify cell faces in terms of cell Id and face Id. More...
Public Member Functions | |
cellFaceIdentifier () | |
Construct null, as invalid pair. More... | |
cellFaceIdentifier (label c, label f) | |
Construct from cell/face components. More... | |
const label & | cellId () const |
The cell id (readonly) More... | |
const label & | faceId () const |
The face id (readonly) More... | |
bool | used () const |
Used if both cell or face are non-negative. More... | |
bool | notUsed () const |
Unused if either cell or face are negative. More... | |
![]() | |
Pair ()=default | |
Default construct. More... | |
Pair (const T &f, const T &s) | |
Copy construct from components. More... | |
Pair (T &&f, T &&s) | |
Move construct from components. More... | |
Pair (const std::pair< T, T > &vals) | |
Copy construct from std::pair. More... | |
Pair (std::pair< T, T > &&vals) | |
Move construct from std::pair. More... | |
Pair (const FixedList< T, 2 > &list) | |
Copy construct FixedList of two items. More... | |
Pair (const T &f, const T &s, const bool doSort) | |
Copy construct, optionally sorted with first less-than second. More... | |
Pair (const FixedList< T, 2 > &list, const bool doSort) | |
Copy construct, optionally sorted with first less-than second. More... | |
Pair (Istream &is) | |
Construct from Istream. More... | |
const T & | second () const noexcept |
Return second element, which is also the last element. More... | |
T & | second () noexcept |
Return second element, which is also the last element. More... | |
const T & | other (const T &a) const |
Return other element. More... | |
bool | sorted () const |
True if first() is less-than second() More... | |
void | flip () |
Flip the Pair in-place. More... | |
void | sort () |
Sort so that first() is less-than second() More... | |
Additional Inherited Members | |
![]() | |
static int | compare (const Pair< T > &a, const Pair< T > &b) |
Compare Pairs. More... | |
Identify cell faces in terms of cell Id and face Id.
Definition at line 73 of file meshReader.H.
|
inline |
Construct null, as invalid pair.
Definition at line 80 of file meshReader.H.
|
inline |
Construct from cell/face components.
Definition at line 83 of file meshReader.H.
|
inline |
The cell id (readonly)
Definition at line 89 of file meshReader.H.
|
inline |
The face id (readonly)
Definition at line 95 of file meshReader.H.
References Pair< T >::second().
|
inline |
Used if both cell or face are non-negative.
Definition at line 104 of file meshReader.H.
References Pair< T >::second().
|
inline |
Unused if either cell or face are negative.
Definition at line 110 of file meshReader.H.
References Pair< T >::second().