Identifies patch by name, patch index and physical type. More...
#include <OpenFOAM/patchIdentifier.H>
Identifies patch by name, patch index and physical type.
Definition at line 58 of file patchIdentifier.H.
Inheritance diagram for patchIdentifier:
Collaboration diagram for patchIdentifier:Public Member Functions | |
| 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.
| |
| void | write (Ostream &) const |
| Write patchIdentifier as a dictionary.
| |
Friends | |
| Ostream & | operator<< (Ostream &, const patchIdentifier &) |
| patchIdentifier | ( | const word & | name, |
| const label | index, | ||
| const word & | physicalType = word::null
|
||
| ) |
Construct from components.
Definition at line 32 of file patchIdentifier.C.
| patchIdentifier | ( | const word & | name, |
| const dictionary & | dict, | ||
| const label | index | ||
| ) |
Construct from dictionary.
Definition at line 45 of file patchIdentifier.C.
References dictionary::readIfPresent().
| patchIdentifier | ( | const patchIdentifier & | p, |
| const label | index | ||
| ) |
Construct from geometric patch, resetting the index.
Definition at line 59 of file patchIdentifier.C.
| ~patchIdentifier | ( | ) | [virtual]
|
Definition at line 72 of file patchIdentifier.C.
| const word& name | ( | ) | const [inline]
|
Return name.
Definition at line 108 of file patchIdentifier.H.
Referenced by polyTopoChange::addMesh(), boundaryMesh::addPatch(), boundaryMesh::changeFaces(), boundaryMesh::changePatchType(), hexRef8::checkMesh(), boundaryMesh::deletePatch(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), cellDistFuncs::getPatchIDs(), MeshedSurface< Face >::MeshedSurface(), facePointPatch::name(), fvPatch::name(), polyBoundaryMesh::neighbourEdges(), boundaryMesh::patchify(), fvMeshDistribute::printMeshInfo(), boundaryMesh::read(), motionSmoother::scaleMesh(), perfectInterface::setRefinement(), meshRefinement::testSyncBoundaryFaceList(), triSurfaceTools::triangulate(), triSurfaceTools::triangulateFaceCentre(), and boundaryMesh::writeTriSurface().
| word& name | ( | ) | [inline]
|
Return name for modification.
Definition at line 114 of file patchIdentifier.H.
| const word& physicalType | ( | ) | const [inline]
|
Return the optional physical type of the patch.
Definition at line 120 of file patchIdentifier.H.
Referenced by boundaryMesh::addPatch(), boundaryMesh::changeFaces(), boundaryMesh::deletePatch(), boundaryMesh::patchify(), boundaryMesh::read(), and boundaryMesh::writeTriSurface().
| word& physicalType | ( | ) | [inline]
|
Return the optional physical type of the patch for modification.
Definition at line 126 of file patchIdentifier.H.
| label index | ( | ) | const [inline]
|
Return the index of this patch in the boundaryMesh.
Definition at line 132 of file patchIdentifier.H.
Referenced by boundaryMesh::changePatchType(), LocalInteraction< CloudType >::correct(), MixedDiffuseSpecular< CloudType >::correct(), MaxwellianThermal< CloudType >::correct(), DsmcParcel< ParcelType >::hitWallPatch(), facePointPatch::index(), fvPatch::index(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), and turbulentTemperatureCoupledBaffleFvPatchScalarField::updateCoeffs().
| label& index | ( | ) | [inline]
|
Return the index of this patch in the boundaryMesh for modification.
Definition at line 138 of file patchIdentifier.H.
| void write | ( | Ostream & | os ) | const |
Write patchIdentifier as a dictionary.
Reimplemented in boundaryPatch, directMappedPolyPatch, directMappedWallPolyPatch, genericPolyPatch, cyclicPolyPatch, processorPolyPatch, and polyPatch.
Definition at line 78 of file patchIdentifier.C.
References token::END_STATEMENT, Foam::nl, and Ostream::writeKeyword().
Referenced by Foam::operator<<(), polyPatch::write(), genericPolyPatch::write(), and boundaryPatch::write().
| Ostream& operator<< | ( | Ostream & | , |
| const patchIdentifier & | |||
| ) | [friend]
|