Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection. More...
Public Member Functions | |
fieldInfo () | |
Default construct. More... | |
fieldInfo (const wordRe &name, const label component=-1) | |
Construct from components. More... | |
fieldInfo (Istream &is) | |
Construct from stream. More... | |
~fieldInfo ()=default | |
Destructor. More... | |
const wordRe & | name () const noexcept |
Return the selector pattern for the field name(s) More... | |
label | component () const noexcept |
Return the component. More... | |
bool | found () const noexcept |
Return the found state. More... | |
void | found (bool on) const noexcept |
Set the found state to be 'on'. More... | |
Friends | |
bool | operator== (const fieldInfo &a, const fieldInfo &b) |
bool | operator!= (const fieldInfo &a, const fieldInfo &b) |
Istream & | operator>> (Istream &is, fieldInfo &fi) |
Ostream & | operator<< (Ostream &os, const fieldInfo &fi) |
Helper class to store a wordRe and label used by Foam::functionObjects::fieldSelection.
Definition at line 51 of file fieldInfo.H.
|
inline |
Default construct.
Definition at line 78 of file fieldInfo.H.
Construct from components.
Definition at line 88 of file fieldInfo.H.
Construct from stream.
Definition at line 98 of file fieldInfo.H.
|
default |
Destructor.
|
inlinenoexcept |
Return the selector pattern for the field name(s)
Definition at line 117 of file fieldInfo.H.
Referenced by fieldSelection::addRegistered(), equationInitialResidualCondition::apply(), fieldSelection::checkSelection(), fieldSelection::containsPattern(), fieldSelection::filters(), and solverFieldSelection::updateSelection().
|
inlinenoexcept |
Return the component.
Definition at line 122 of file fieldInfo.H.
Referenced by fieldSelection::addRegistered(), equationInitialResidualCondition::apply(), and solverFieldSelection::updateSelection().
|
inlinenoexcept |
Return the found state.
Definition at line 127 of file fieldInfo.H.
Referenced by fieldSelection::addRegistered(), fieldSelection::checkSelection(), and solverFieldSelection::updateSelection().
|
inlinenoexcept |
Set the found state to be 'on'.
Definition at line 132 of file fieldInfo.H.
Definition at line 135 of file fieldInfo.H.
Definition at line 145 of file fieldInfo.H.
Definition at line 153 of file fieldInfo.H.
Definition at line 158 of file fieldInfo.H.