The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index. More...
#include <triSurface/geometricSurfacePatch.H>
The geometricSurfacePatch is like patchIdentifier but for surfaces. Holds type, name and index.
Definition at line 54 of file geometricSurfacePatch.H.
Public Member Functions | |
ClassName ("geometricSurfacePatch") | |
Runtime type information. | |
geometricSurfacePatch () | |
Construct null. | |
geometricSurfacePatch (const word &geometricType, const word &name, const label index) | |
Construct from components. | |
geometricSurfacePatch (Istream &, const label index) | |
Construct from Istream. | |
geometricSurfacePatch (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary. | |
const word & | name () const |
Return name. | |
word & | name () |
Return name. | |
const word & | geometricType () const |
Return the type of the patch. | |
word & | geometricType () |
Return the type of the patch. | |
label | index () const |
Return the index of this patch in the boundaryMesh. | |
label & | index () |
Return the index of this patch in the boundaryMesh. | |
void | write (Ostream &) const |
Write. | |
void | writeDict (Ostream &) const |
Write dictionary. | |
bool | operator!= (const geometricSurfacePatch &) const |
bool | operator== (const geometricSurfacePatch &) const |
compare. |
Friends | |
Ostream & | operator<< (Ostream &, const geometricSurfacePatch &) |
Istream & | operator>> (Istream &, geometricSurfacePatch &) |
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 51 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 85 of file geometricSurfacePatch.C.
ClassName | ( | "geometricSurfacePatch" | ) |
Runtime type information.
|
inline |
Return name.
Definition at line 101 of file geometricSurfacePatch.H.
Referenced by geometricSurfacePatch::operator==(), and boundaryMesh::readTriSurface().
|
inline |
Return name.
Definition at line 107 of file geometricSurfacePatch.H.
|
inline |
Return the type of the patch.
Definition at line 113 of file geometricSurfacePatch.H.
Referenced by surfacePatch::operator==(), geometricSurfacePatch::operator==(), and boundaryMesh::readTriSurface().
|
inline |
Return the type of the patch.
Definition at line 119 of file geometricSurfacePatch.H.
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 125 of file geometricSurfacePatch.H.
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 131 of file geometricSurfacePatch.H.
void write | ( | Ostream & | os | ) | const |
Write.
Reimplemented in surfacePatch.
Definition at line 105 of file geometricSurfacePatch.C.
References Foam::nl.
Referenced by Foam::operator<<().
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Reimplemented in surfacePatch.
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 geometricSurfacePatch::geometricType(), geometricSurfacePatch::name(), and Foam::name().
|
friend |
Definition at line 148 of file geometricSurfacePatch.C.
|
friend |
Definition at line 140 of file geometricSurfacePatch.C.