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.
Referenced by geometricSurfacePatch::geometricSurfacePatch().
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.
References geometricSurfacePatch::geometricSurfacePatch().
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 100 of file geometricSurfacePatch.H.
Referenced by geometricSurfacePatch::operator==(), repatchMesh::readTriSurface(), triSurface::triSurfInstance(), and surfacePatch::writeDict().
|
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 surfacePatch::operator==(), geometricSurfacePatch::operator==(), repatchMesh::readTriSurface(), and triSurface::triSurfInstance().
|
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.
Referenced by triSurface::triSurfInstance().
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 130 of file geometricSurfacePatch.H.
References geometricSurfacePatch::operator!=(), geometricSurfacePatch::operator<<, geometricSurfacePatch::operator==(), geometricSurfacePatch::operator>>, geometricSurfacePatch::write(), and geometricSurfacePatch::writeDict().
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 105 of file geometricSurfacePatch.C.
References Foam::nl.
Referenced by geometricSurfacePatch::index(), and Foam::operator<<().
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Definition at line 112 of file geometricSurfacePatch.C.
References Foam::nl.
Referenced by geometricSurfacePatch::index(), and surfacePatch::writeDict().
bool operator!= | ( | const geometricSurfacePatch & | p | ) | const |
Definition at line 120 of file geometricSurfacePatch.C.
References p.
Referenced by geometricSurfacePatch::index().
bool operator== | ( | const geometricSurfacePatch & | p | ) | const |
compare.
Definition at line 127 of file geometricSurfacePatch.C.
References geometricSurfacePatch::geometricType(), and geometricSurfacePatch::name().
Referenced by geometricSurfacePatch::index().
|
friend |
Definition at line 148 of file geometricSurfacePatch.C.
Referenced by geometricSurfacePatch::index().
|
friend |
Definition at line 140 of file geometricSurfacePatch.C.
Referenced by geometricSurfacePatch::index().