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... | |
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... | |
Private Attributes | |
word | geometricType_ |
Type name of patch. More... | |
word | name_ |
Name of patch. More... | |
label | index_ |
Index of patch in boundary. More... | |
Friends | |
Ostream & | operator<< (Ostream &, const geometricSurfacePatch &) |
Istream & | operator>> (Istream &, geometricSurfacePatch &) |
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 51 of file geometricSurfacePatch.C.
geometricSurfacePatch | ( | Istream & | is, |
const label | index | ||
) |
Construct from Istream.
Definition at line 70 of file geometricSurfacePatch.C.
References geometricSurfacePatch::geometricType_.
geometricSurfacePatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Construct from dictionary.
Definition at line 85 of file geometricSurfacePatch.C.
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.
ClassName | ( | "geometricSurfacePatch" | ) |
Runtime type information.
|
inline |
Return name.
Definition at line 101 of file geometricSurfacePatch.H.
References geometricSurfacePatch::name_.
Referenced by triSurface::calcPatches(), triSurfaceMetaData::createMetaData(), boundaryMesh::readTriSurface(), triSurface::writeAC(), and triSurface::writeSTLASCII().
|
inline |
Return name.
Definition at line 107 of file geometricSurfacePatch.H.
References geometricSurfacePatch::name_.
|
inline |
Return the type of the patch.
Definition at line 113 of file geometricSurfacePatch.H.
References geometricSurfacePatch::geometricType_.
Referenced by triSurface::calcPatches(), triSurfaceMetaData::createMetaData(), and boundaryMesh::readTriSurface().
|
inline |
Return the type of the patch.
Definition at line 119 of file geometricSurfacePatch.H.
References geometricSurfacePatch::geometricType_.
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 125 of file geometricSurfacePatch.H.
References geometricSurfacePatch::index_.
Referenced by triSurface::calcPatches().
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 131 of file geometricSurfacePatch.H.
References geometricSurfacePatch::index_.
void write | ( | Ostream & | os | ) | const |
Write.
Definition at line 105 of file geometricSurfacePatch.C.
References geometricSurfacePatch::geometricType_, geometricSurfacePatch::name_, and Foam::nl.
Referenced by Foam::operator<<().
void writeDict | ( | Ostream & | os | ) | const |
Write dictionary.
Definition at line 112 of file geometricSurfacePatch.C.
References geometricSurfacePatch::geometricType_, and 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 Foam::name(), and p.
ClassName | ( | "geometricSurfacePatch" | ) |
Runtime type information.
|
inline |
Return name.
Definition at line 100 of file geometricSurfacePatch.H.
References geometricSurfacePatch::name_.
|
inline |
Return name.
Definition at line 106 of file geometricSurfacePatch.H.
References geometricSurfacePatch::name_.
|
inline |
Return the type of the patch.
Definition at line 112 of file geometricSurfacePatch.H.
References geometricSurfacePatch::geometricType_.
|
inline |
Return the type of the patch.
Definition at line 118 of file geometricSurfacePatch.H.
References geometricSurfacePatch::geometricType_.
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 124 of file geometricSurfacePatch.H.
References geometricSurfacePatch::index_.
|
inline |
Return the index of this patch in the boundaryMesh.
Definition at line 130 of file geometricSurfacePatch.H.
References geometricSurfacePatch::index_.
void write | ( | Ostream & | ) | const |
Write.
void writeDict | ( | Ostream & | ) | const |
Write dictionary.
bool operator!= | ( | const geometricSurfacePatch & | ) | const |
bool operator== | ( | const geometricSurfacePatch & | ) | const |
compare.
|
friend |
Definition at line 148 of file geometricSurfacePatch.C.
|
friend |
Definition at line 140 of file geometricSurfacePatch.C.
|
friend |
Definition at line 148 of file geometricSurfacePatch.C.
|
friend |
Definition at line 140 of file geometricSurfacePatch.C.
|
private |
Type name of patch.
Definition at line 58 of file geometricSurfacePatch.H.
Referenced by geometricSurfacePatch::geometricSurfacePatch(), geometricSurfacePatch::geometricType(), Foam::operator>>(), geometricSurfacePatch::write(), and geometricSurfacePatch::writeDict().
|
private |
Name of patch.
Definition at line 61 of file geometricSurfacePatch.H.
Referenced by geometricSurfacePatch::name(), Foam::operator>>(), and geometricSurfacePatch::write().
|
private |
Index of patch in boundary.
Definition at line 64 of file geometricSurfacePatch.H.
Referenced by geometricSurfacePatch::index().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.