Identifies a surface patch/zone by name and index, with geometric type. More...
Classes | |
struct | fromIdentifier |
Public Member Functions | |
geometricSurfacePatch (const geometricSurfacePatch &)=default | |
geometricSurfacePatch & | operator= (const geometricSurfacePatch &)=default |
geometricSurfacePatch () | |
geometricSurfacePatch (const label index) | |
geometricSurfacePatch (const word &name, const label index) | |
geometricSurfacePatch (const word &name, const label index, const word &geometricType) | |
geometricSurfacePatch (const word &name, const dictionary &dict, const label index) | |
geometricSurfacePatch (const surfZoneIdentifier &ident) | |
const word & | name () const noexcept |
word & | name () noexcept |
label | index () const noexcept |
label & | index () noexcept |
const word & | geometricType () const noexcept |
word & | geometricType () noexcept |
void | write (Ostream &os) const |
geometricSurfacePatch (Istream &is, const label index)=delete | |
geometricSurfacePatch (const word &geometricType, const word &name, const label index) | |
void | writeDict (Ostream &os) const |
Static Public Member Functions | |
static word | defaultName (const label n=-1) |
Static Public Attributes | |
static constexpr const char *const | emptyType = "empty" |
Identifies a surface patch/zone by name and index, with geometric type.
Definition at line 49 of file geometricSurfacePatch.H.
|
default |
Definition at line 27 of file geometricSurfacePatch.C.
Referenced by geometricSurfacePatch::fromIdentifier::operator()().
|
explicit |
Definition at line 33 of file geometricSurfacePatch.C.
geometricSurfacePatch | ( | const word & | name, |
const label | index | ||
) |
Definition at line 42 of file geometricSurfacePatch.C.
geometricSurfacePatch | ( | const word & | name, |
const label | index, | ||
const word & | geometricType | ||
) |
Definition at line 54 of file geometricSurfacePatch.C.
geometricSurfacePatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Definition at line 67 of file geometricSurfacePatch.C.
References dict, and dictionary::readIfPresent().
geometricSurfacePatch | ( | const surfZoneIdentifier & | ident | ) |
Definition at line 80 of file geometricSurfacePatch.C.
|
delete |
|
inline |
Definition at line 196 of file geometricSurfacePatch.H.
|
inlinestatic |
Definition at line 73 of file geometricSurfacePatch.H.
References n.
Referenced by boundaryMesh::readTriSurface().
|
default |
|
inlinenoexcept |
Definition at line 145 of file geometricSurfacePatch.H.
Referenced by Foam::operator<<(), Foam::operator==(), Foam::operator>>(), and boundaryMesh::readTriSurface().
|
inlinenoexcept |
Definition at line 151 of file geometricSurfacePatch.H.
|
inlinenoexcept |
Definition at line 157 of file geometricSurfacePatch.H.
|
inlinenoexcept |
Definition at line 163 of file geometricSurfacePatch.H.
|
inlinenoexcept |
Definition at line 169 of file geometricSurfacePatch.H.
Referenced by Foam::operator<<(), Foam::operator==(), Foam::operator>>(), and boundaryMesh::readTriSurface().
|
inlinenoexcept |
Definition at line 175 of file geometricSurfacePatch.H.
void write | ( | Ostream & | os | ) | const |
Definition at line 90 of file geometricSurfacePatch.C.
References os(), and Ostream::writeEntry().
Referenced by surfacePatch::write(), and geometricSurfacePatch::writeDict().
|
inline |
Definition at line 208 of file geometricSurfacePatch.H.
References os(), and geometricSurfacePatch::write().
|
staticconstexpr |
Definition at line 67 of file geometricSurfacePatch.H.
Referenced by boundaryMesh::readTriSurface().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.