Like polyPatch but without reference to mesh. Used in boundaryMesh to hold data on patches. The patchIdentifier::index is set, but not used. More...


Public Member Functions | |
| boundaryPatch (const word &name, const label index, const label size, const label start, const word &physicalType=word::null) | |
| Construct from components. More... | |
| boundaryPatch (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. More... | |
| boundaryPatch (const boundaryPatch &p, const label index) | |
| Copy construct, resetting the index. More... | |
| autoPtr< boundaryPatch > | clone () const |
| Clone. More... | |
| label | size () const |
| label & | size () |
| label | start () const |
| label & | start () |
| virtual void | write (Ostream &os) const |
| Write dictionary entries (without surrounding braces) More... | |
Public Member Functions inherited from patchIdentifier | |
| patchIdentifier (const patchIdentifier &)=default | |
| Copy construct. More... | |
| patchIdentifier & | operator= (const patchIdentifier &)=default |
| Copy assignment. More... | |
| virtual | ~patchIdentifier ()=default |
| Destructor. More... | |
| patchIdentifier () | |
| Default construct. Uses name="", index=0. More... | |
| patchIdentifier (const word &name, const label index) | |
| Construct from mandatory components. More... | |
| patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
| Construct from components. More... | |
| patchIdentifier (const word &name, const dictionary &dict, const label index) | |
| Construct from dictionary. More... | |
| patchIdentifier (const patchIdentifier &ident, const label index) | |
| Copy construct, resetting the index. More... | |
| const word & | name () const noexcept |
| The patch name. More... | |
| word & | name () noexcept |
| Modifiable patch name. More... | |
| label | index () const noexcept |
| The index of this patch in the boundaryMesh. More... | |
| label & | index () noexcept |
| Modifiable index of this patch in the boundaryMesh. More... | |
| const word & | physicalType () const noexcept |
| The (optional) physical type of the patch. More... | |
| word & | physicalType () noexcept |
| Modifiable (optional) physical type of the patch. More... | |
| const wordList & | inGroups () const noexcept |
| The (optional) groups that the patch belongs to. More... | |
| wordList & | inGroups () noexcept |
| Modifiable (optional) groups that the patch belongs to. More... | |
| bool | inGroup (const word &name) const |
| True if given name is in a group. More... | |
| void | write (Ostream &os) const |
| Write (physicalType, inGroups) dictionary entries (without surrounding braces) More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from patchIdentifier | |
| static word | defaultName (const label n=-1) |
| Default patch name: "patch" or "patchN". More... | |
Like polyPatch but without reference to mesh. Used in boundaryMesh to hold data on patches. The patchIdentifier::index is set, but not used.
Definition at line 50 of file boundaryPatch.H.
| boundaryPatch | ( | const word & | name, |
| const label | index, | ||
| const label | size, | ||
| const label | start, | ||
| const word & | physicalType = word::null |
||
| ) |
Construct from components.
Definition at line 29 of file boundaryPatch.C.
| boundaryPatch | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index | ||
| ) |
Construct from dictionary.
Definition at line 44 of file boundaryPatch.C.
| boundaryPatch | ( | const boundaryPatch & | p, |
| const label | index | ||
| ) |
Copy construct, resetting the index.
Definition at line 56 of file boundaryPatch.C.
References patchIdentifier::index().

|
inline |
Clone.
Definition at line 98 of file boundaryPatch.H.
References autoPtr< T >::New().

|
inline |
Definition at line 106 of file boundaryPatch.H.
Referenced by boundaryMesh::addPatch(), boundaryMesh::changeFaces(), boundaryMesh::changePatchType(), boundaryMesh::deletePatch(), boundaryMesh::read(), boundaryMesh::readTriSurface(), and boundaryMesh::whichPatch().

|
inline |
Definition at line 111 of file boundaryPatch.H.
|
inline |
Definition at line 116 of file boundaryPatch.H.
Referenced by boundaryMesh::addPatch(), boundaryMesh::changeFaces(), boundaryMesh::changePatchType(), boundaryMesh::deletePatch(), boundaryMesh::read(), boundaryMesh::readTriSurface(), boundaryMesh::whichPatch(), and boundaryMesh::writeTriSurface().

|
inline |
Definition at line 121 of file boundaryPatch.H.
|
virtual |
Write dictionary entries (without surrounding braces)
Definition at line 66 of file boundaryPatch.C.
References os(), patchIdentifier::write(), and Ostream::writeEntry().

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.