Identifies a surface patch/zone by name and index, with geometric type. More...
#include <geometricSurfacePatch.H>

Classes | |
| struct | fromIdentifier |
| Helper to convert identifier types as an operation. More... | |
Public Member Functions | |
| geometricSurfacePatch (const geometricSurfacePatch &)=default | |
| Copy construct. | |
| geometricSurfacePatch (geometricSurfacePatch &&)=default | |
| Move construct. | |
| geometricSurfacePatch & | operator= (const geometricSurfacePatch &)=default |
| Copy assignment. | |
| geometricSurfacePatch & | operator= (geometricSurfacePatch &&)=default |
| Move assignment. | |
| geometricSurfacePatch () | |
| Default construct. Uses name="patch", index=0, type="". | |
| geometricSurfacePatch (const label index) | |
| Construct null with specified index. Uses name="patch", type="". | |
| geometricSurfacePatch (const word &name, const label index) | |
| Construct from mandatory components, type="". | |
| geometricSurfacePatch (const word &name, const label index, const word &geometricType) | |
| Construct from components. | |
| geometricSurfacePatch (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. | |
| geometricSurfacePatch (const surfZoneIdentifier &ident) | |
| Implicit conversion from surfZoneIdentifier. | |
| const word & | name () const noexcept |
| The patch/zone name. | |
| word & | name () noexcept |
| Modifiable patch/zone name. | |
| label | index () const noexcept |
| The index of this patch/zone in the surface mesh. | |
| label & | index () noexcept |
| Modifiable index of this patch/zone in the surface mesh. | |
| const word & | geometricType () const noexcept |
| The geometric type of the patch/zone. | |
| word & | geometricType () noexcept |
| Modifiable geometric type of the patch/zone. | |
| void | write (Ostream &os) const |
| Write (geometricType) dictionary entry (without surrounding braces). | |
| geometricSurfacePatch (Istream &is, const label index)=delete | |
| Removed(2020-01) Construct from Istream. | |
| geometricSurfacePatch (const word &geometricType, const word &name, const label index) | |
| Deprecated(2020-01) Construct from components. | |
| void | writeDict (Ostream &os) const |
| Deprecated(2020-01) Write dictionary. | |
Static Public Member Functions | |
| static word | defaultName (const label n=-1) |
| Default patch name: "patch" or "patchN". | |
Static Public Attributes | |
| static constexpr const char *const | emptyType = "empty" |
| The name for an 'empty' type. | |
Identifies a surface patch/zone by name and index, with geometric type.
Definition at line 49 of file geometricSurfacePatch.H.
|
default |
Copy construct.
References geometricSurfacePatch().
Referenced by geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch::fromIdentifier::operator()(), operator=(), operator=(), surfacePatch::surfacePatch(), surfacePatch::surfacePatch(), and surfacePatch::surfacePatch().


|
default |
| geometricSurfacePatch | ( | ) |
Default construct. Uses name="patch", index=0, type="".
Definition at line 27 of file geometricSurfacePatch.C.
Referenced by geometricSurfacePatch::fromIdentifier::operator()().

|
explicit |
Construct null with specified index. Uses name="patch", type="".
Definition at line 34 of file geometricSurfacePatch.C.
References index().

| geometricSurfacePatch | ( | const word & | name, |
| const label | index ) |
Construct from mandatory components, type="".
Definition at line 41 of file geometricSurfacePatch.C.
References index(), and name().

Construct from components.
Definition at line 52 of file geometricSurfacePatch.C.
References geometricType(), index(), and name().

| geometricSurfacePatch | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index ) |
Construct from dictionary.
Definition at line 65 of file geometricSurfacePatch.C.
References dict, geometricSurfacePatch(), index(), and name().

| geometricSurfacePatch | ( | const surfZoneIdentifier & | ident | ) |
Implicit conversion from surfZoneIdentifier.
Definition at line 78 of file geometricSurfacePatch.C.
References geometricSurfacePatch(), geometricType(), index(), and name().

|
delete |
Removed(2020-01) Construct from Istream.
References index().

Deprecated(2020-01) Construct from components.
Definition at line 237 of file geometricSurfacePatch.H.
References geometricSurfacePatch(), geometricType(), index(), and name().

|
inlinestatic |
Default patch name: "patch" or "patchN".
Definition at line 83 of file geometricSurfacePatch.H.
References n.
Referenced by boundaryMesh::readTriSurface().

|
default |
|
default |
Move assignment.
References dict, geometricSurfacePatch(), geometricType(), index(), and name().

|
inlinenoexcept |
The patch/zone name.
Definition at line 186 of file geometricSurfacePatch.H.
References Foam::noexcept.
Referenced by geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), Foam::operator<<(), operator=(), surfacePatch::operator=(), Foam::operator==(), Foam::operator>>(), boundaryMesh::readTriSurface(), surfacePatch::surfacePatch(), surfacePatch::surfacePatch(), and surfacePatch::surfacePatch().

|
inlinenoexcept |
Modifiable patch/zone name.
Definition at line 191 of file geometricSurfacePatch.H.
References Foam::noexcept.
|
inlinenoexcept |
The index of this patch/zone in the surface mesh.
Definition at line 196 of file geometricSurfacePatch.H.
References Foam::noexcept.
Referenced by geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), operator=(), surfacePatch::operator=(), surfacePatch::surfacePatch(), surfacePatch::surfacePatch(), surfacePatch::surfacePatch(), surfacePatch::surfacePatch(), and surfacePatch::surfacePatch().

|
inlinenoexcept |
Modifiable index of this patch/zone in the surface mesh.
Definition at line 201 of file geometricSurfacePatch.H.
References Foam::noexcept.
|
inlinenoexcept |
The geometric type of the patch/zone.
Definition at line 206 of file geometricSurfacePatch.H.
References Foam::noexcept.
Referenced by geometricSurfacePatch(), geometricSurfacePatch(), geometricSurfacePatch(), Foam::operator<<(), operator=(), surfacePatch::operator=(), Foam::operator==(), Foam::operator==(), Foam::operator>>(), boundaryMesh::readTriSurface(), surfacePatch::surfacePatch(), and surfacePatch::surfacePatch().

|
inlinenoexcept |
Modifiable geometric type of the patch/zone.
Definition at line 211 of file geometricSurfacePatch.H.
References Foam::noexcept.
| void write | ( | Ostream & | os | ) | const |
Write (geometricType) dictionary entry (without surrounding braces).
Definition at line 89 of file geometricSurfacePatch.C.
References os().
Referenced by surfacePatch::write().


|
inline |
Deprecated(2020-01) Write dictionary.
Definition at line 253 of file geometricSurfacePatch.H.
References os(), write(), and writeDict().
Referenced by writeDict().


|
staticconstexpr |
The name for an 'empty' type.
Definition at line 75 of file geometricSurfacePatch.H.
Referenced by boundaryMesh::readTriSurface().