Like polyPatch but without reference to mesh. patchIdentifier::index is not used. Used in boundaryMesh to hold data on patches. More...
#include <dynamicMesh/boundaryPatch.H>
Like polyPatch but without reference to mesh. patchIdentifier::index is not used. Used in boundaryMesh to hold data on patches.
Definition at line 51 of file boundaryPatch.H.
Public Member Functions | |
boundaryPatch (const word &name, const label index, const label size, const label start, const word &physicalType=word::null) | |
Construct from components. | |
boundaryPatch (const word &name, const dictionary &dict, const label index) | |
Construct from dictionary. | |
boundaryPatch (const boundaryPatch &) | |
Construct as copy. | |
boundaryPatch (const boundaryPatch &, const label index) | |
Construct as copy, resetting the index. | |
autoPtr< boundaryPatch > | clone () const |
Clone. | |
~boundaryPatch () | |
label | size () const |
label & | size () |
label | start () const |
label & | start () |
virtual void | write (Ostream &) const |
Write dictionary. | |
![]() | |
patchIdentifier (const word &name, const label index, const word &physicalType=word::null) | |
Construct from components. | |
patchIdentifier (const word &name, const dictionary &, const label index) | |
Construct from dictionary. | |
patchIdentifier (const patchIdentifier &, const label index) | |
Construct from geometric patch, resetting the index. | |
virtual | ~patchIdentifier () |
const word & | name () const |
Return name. | |
word & | name () |
Return name for modification. | |
const word & | physicalType () const |
Return the optional physical type of the patch. | |
word & | physicalType () |
Return the optional physical type of the patch for modification. | |
label | index () const |
Return the index of this patch in the boundaryMesh. | |
label & | index () |
Return the index of this patch in the boundaryMesh for modification. |
Friends | |
Ostream & | operator<< (Ostream &, const boundaryPatch &) |
boundaryPatch | ( | const word & | name, |
const label | index, | ||
const label | size, | ||
const label | start, | ||
const word & | physicalType = word::null |
||
) |
Construct from components.
Definition at line 33 of file boundaryPatch.C.
boundaryPatch | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Construct from dictionary.
Definition at line 48 of file boundaryPatch.C.
boundaryPatch | ( | const boundaryPatch & | p | ) |
Construct as copy.
Definition at line 60 of file boundaryPatch.C.
boundaryPatch | ( | const boundaryPatch & | p, |
const label | index | ||
) |
Construct as copy, resetting the index.
Definition at line 68 of file boundaryPatch.C.
~boundaryPatch | ( | ) |
Definition at line 84 of file boundaryPatch.C.
Foam::autoPtr< Foam::boundaryPatch > clone | ( | ) | const |
Clone.
Definition at line 76 of file boundaryPatch.C.
|
inline |
Definition at line 99 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 104 of file boundaryPatch.H.
|
inline |
Definition at line 109 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 114 of file boundaryPatch.H.
|
virtual |
Write dictionary.
Reimplemented from patchIdentifier.
Definition at line 90 of file boundaryPatch.C.
References token::END_STATEMENT, Foam::nl, patchIdentifier::write(), and Ostream::writeKeyword().
|
friend |