The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index. More...
Public Member Functions | |
ClassName ("geometricSurfacePatch") | |
Runtime type information. More... | |
geometricSurfacePatch () | |
Construct null. More... | |
geometricSurfacePatch (const word &geometricType, const word &name, const label index) | |
Construct from components. More... | |
geometricSurfacePatch (Istream &, const label index) | |
Construct from Istream. More... | |
geometricSurfacePatch (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary. More... | |
const word & | name () const |
Return name. More... | |
word & | name () |
Return name. More... | |
const word & | geometricType () const |
Return the type of the patch. More... | |
word & | geometricType () |
Return the type of the patch. More... | |
label | index () const |
Return the index of this patch in the boundaryMesh. More... | |
label & | index () |
Return the index of this patch in the boundaryMesh. More... | |
void | write (Ostream &) const |
Write. More... | |
void | writeDict (Ostream &) const |
Write dictionary. More... | |
bool | operator!= (const geometricSurfacePatch &) const |
bool | operator== (const geometricSurfacePatch &) const |
compare. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const geometricSurfacePatch &) |
Istream & | operator>> (Istream &, geometricSurfacePatch &) |
The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index.
Definition at line 53 of file geometricSurfacePatch.H.
Construct null.
Definition at line 41 of file geometricSurfacePatch.C.
geometricSurfacePatch | ( | const word & | geometricType, |
const word & | name, | ||
const label | index | ||
) |
Construct from components.
Definition at line 50 of file geometricSurfacePatch.C.
geometricSurfacePatch | ( | Istream & | is, |
const label | index | ||
) |
Construct from Istream.
Definition at line 70 of file geometricSurfacePatch.C.
geometricSurfacePatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Construct from dictionary.
Definition at line 84 of file geometricSurfacePatch.C.
ClassName | ( | "geometricSurfacePatch" | ) |
Runtime type information.
|
inline |
Return name.
Definition at line 100 of file geometricSurfacePatch.H.
Referenced by repatchMesh::readTriSurface().
|
inline |
Return name.
Definition at line 106 of file geometricSurfacePatch.H.
|
inline |
Return the type of the patch.
Definition at line 112 of file geometricSurfacePatch.H.
Referenced by repatchMesh::readTriSurface().
|
inline |
Return the type of the patch.
Definition at line 118 of file geometricSurfacePatch.H.
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 124 of file geometricSurfacePatch.H.
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 130 of file geometricSurfacePatch.H.
void write | ( | Ostream & | os | ) | const |
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Definition at line 112 of file geometricSurfacePatch.C.
References Foam::nl.
Referenced by surfacePatch::writeDict().
bool operator!= | ( | const geometricSurfacePatch & | p | ) | const |
Definition at line 120 of file geometricSurfacePatch.C.
References p.
bool operator== | ( | const geometricSurfacePatch & | p | ) | const |
compare.
Definition at line 127 of file geometricSurfacePatch.C.
References IOobject::name(), Foam::name(), and p.
|
friend |
Definition at line 148 of file geometricSurfacePatch.C.
|
friend |
Definition at line 140 of file geometricSurfacePatch.C.