A class that holds the data needed to identify things (zones, patches) in a dynamic mesh. More...
#include <DynamicID.H>

Public Member Functions | |
| DynamicID (const wordRe &key, const ObjectType &obj) | |
| Construct from selector name and object. | |
| DynamicID (wordRe &&key, const ObjectType &obj) | |
| Construct from selector name and object. | |
| DynamicID (const word &key, const ObjectType &obj) | |
| Construct from selector name and object. | |
| DynamicID (const keyType &key, const ObjectType &obj) | |
| Construct from selector name and object. | |
| DynamicID (Istream &is, const ObjectType &obj) | |
| Construct from Istream and object. | |
| ~DynamicID ()=default | |
| Destructor. | |
| const wordRe & | name () const noexcept |
| The selector name. | |
| const labelList & | indices () const noexcept |
| The indices of matching items. | |
| label | index () const |
| The index of the first matching items, -1 if no matches. | |
| bool | active () const noexcept |
| Has the zone been found. | |
| void | update (const ObjectType &obj) |
| Update. | |
A class that holds the data needed to identify things (zones, patches) in a dynamic mesh.
The thing is identified by name. Its indices are updated if the mesh has changed.
Definition at line 48 of file DynamicID.H.
|
inline |
Construct from selector name and object.
Definition at line 70 of file DynamicID.H.
|
inline |
Construct from selector name and object.
Definition at line 79 of file DynamicID.H.
|
inline |
Construct from selector name and object.
Definition at line 88 of file DynamicID.H.
|
inline |
Construct from selector name and object.
Definition at line 96 of file DynamicID.H.
|
inline |
Construct from Istream and object.
Definition at line 104 of file DynamicID.H.
|
default |
Destructor.
|
inlinenoexcept |
The selector name.
Definition at line 123 of file DynamicID.H.
Referenced by Foam::operator<<().

|
inlinenoexcept |
The indices of matching items.
Definition at line 131 of file DynamicID.H.
|
inline |
The index of the first matching items, -1 if no matches.
Definition at line 139 of file DynamicID.H.
Referenced by Foam::operator<<().

|
inlinenoexcept |
Has the zone been found.
Definition at line 147 of file DynamicID.H.
|
inline |
Update.
Definition at line 158 of file DynamicID.H.