A class holds the data needed to identify a patch in a dynamic mesh. More...
#include <OpenFOAM/polyPatchID.H>
A class holds the data needed to identify a patch in a dynamic mesh.
The patch is identified by name and its index in the boundary mesh is updated if the mesh has changed.
Definition at line 55 of file polyPatchID.H.
Public Member Functions | |
polyPatchID (const word &name, const polyBoundaryMesh &bm) | |
Construct from name. | |
polyPatchID (Istream &is, const polyBoundaryMesh &bm) | |
Construct from Istream. | |
const word & | name () const |
Return name. | |
label | index () const |
Return index. | |
bool | active () const |
Has the patch been found. | |
void | update (const polyBoundaryMesh &bm) |
Update. |
Friends | |
Ostream & | operator<< (Ostream &os, const polyPatchID &p) |
|
inline |
Construct from name.
Definition at line 71 of file polyPatchID.H.
|
inline |
Construct from Istream.
Definition at line 78 of file polyPatchID.H.
|
inline |
|
inline |
Return index.
Definition at line 96 of file polyPatchID.H.
|
inline |
Has the patch been found.
Definition at line 102 of file polyPatchID.H.
|
inline |
|
friend |
Definition at line 119 of file polyPatchID.H.