Identifies a patch by name and index, with optional physical type and group information. More...
Public Member Functions | |
patchIdentifier (const patchIdentifier &)=default | |
patchIdentifier & | operator= (const patchIdentifier &)=default |
virtual | ~patchIdentifier ()=default |
patchIdentifier () | |
patchIdentifier (const word &name, const label index) | |
patchIdentifier (const word &name, const label index, const word &physicalType, const wordList &inGroups=wordList()) | |
patchIdentifier (const word &name, const dictionary &dict, const label index) | |
patchIdentifier (const patchIdentifier &ident, const label index) | |
const word & | name () const noexcept |
word & | name () noexcept |
label | index () const noexcept |
label & | index () noexcept |
const word & | physicalType () const noexcept |
word & | physicalType () noexcept |
const wordList & | inGroups () const noexcept |
wordList & | inGroups () noexcept |
bool | inGroup (const word &name) const |
void | write (Ostream &os) const |
Static Public Member Functions | |
static word | defaultName (const label n=-1) |
Identifies a patch by name and index, with optional physical type and group information.
Definition at line 51 of file patchIdentifier.H.
|
default |
|
virtualdefault |
patchIdentifier | ( | ) |
Definition at line 27 of file patchIdentifier.C.
patchIdentifier | ( | const word & | name, |
const label | index | ||
) |
Definition at line 35 of file patchIdentifier.C.
patchIdentifier | ( | const word & | name, |
const label | index, | ||
const word & | physicalType, | ||
const wordList & | inGroups = wordList() |
||
) |
Definition at line 46 of file patchIdentifier.C.
patchIdentifier | ( | const word & | name, |
const dictionary & | dict, | ||
const label | index | ||
) |
Definition at line 61 of file patchIdentifier.C.
References dict, and dictionary::readIfPresent().
patchIdentifier | ( | const patchIdentifier & | ident, |
const label | index | ||
) |
Definition at line 75 of file patchIdentifier.C.
|
inlinestatic |
Definition at line 72 of file patchIdentifier.H.
References n.
Referenced by voxelMeshSearch::makeMesh().
|
default |
|
inlinenoexcept |
Definition at line 131 of file patchIdentifier.H.
Referenced by cyclicAMIPolyPatch::addAMIFaces(), polyTopoChange::addMesh(), boundaryMesh::addPatch(), faPatchData::assign(), boundaryRadiationProperties::boundaryRadiationProperties(), symmetryPlanePolyPatch::calcGeometry(), wedgePolyPatch::calcGeometry(), boundaryMesh::changeFaces(), boundaryMesh::changePatchType(), hexRef8::checkMesh(), lumpedPointMovement::checkPatchControl(), symmetryFaPatch::clone(), emptyFaPatch::clone(), faPatch::clone(), ConstantField< Type >::ConstantField(), cyclicAMIPolyPatch::cylindricalCS(), boundaryMesh::deletePatch(), snappyLayerDriver::doLayers(), extendedCellToCellStencil::extendedCellToCellStencil(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), faMesh::faMesh(), coupleGroupIdentifier::findOtherPatchID(), FaceCellWave< Type, int >::handleProcPatches(), particle< Type >::hitCyclicAMIPatch(), patchIdentifier::inGroup(), cyclicAMIPolyPatch::interpolate(), trackingInverseDistance::markBoundaries(), facePointPatch::name(), fvPatch::name(), polyBoundaryMesh::neighbourEdges(), cyclicACMIPolyPatch::nonOverlapPatchID(), boundaryMesh::patchify(), fvMeshDistribute::printMeshInfo(), polyMeshAdder::procPatchPairs(), boundaryMesh::read(), AMIWeights::reportPatch(), cyclicACMIPolyPatch::resetAMI(), cyclicACMIFvPatch::resetPatchAreas(), cyclicAMIPolyPatch::restoreScaledGeometry(), motionSmootherAlgo::scaleMesh(), cyclicACMIPolyPatch::scalePatchFaceAreas(), solidAbsorption::solidAbsorption(), processorCyclicPolyPatch::tag(), meshRefinement::testSyncBoundaryFaceList(), cyclicPolyPatch::transformGlobalFace(), dynamicMotionSolverFvMeshAMI::update(), cyclicACMIPolyPatch::updateAreas(), vtkWrite::write(), boundaryMesh::writeTriSurface(), and AMIWeights::writeWeightField().
|
inlinenoexcept |
Definition at line 137 of file patchIdentifier.H.
|
inlinenoexcept |
Definition at line 143 of file patchIdentifier.H.
Referenced by KinematicSurfaceFilm< CloudType >::absorbInteraction(), cyclicAMIPolyPatch::addAMIFaces(), KinematicSurfaceFilm< CloudType >::bounceInteraction(), boundaryPatch::boundaryPatch(), boundaryMesh::changePatchType(), lumpedPointMovement::checkPatchControl(), symmetryFaPatch::clone(), emptyFaPatch::clone(), emptyPolyPatch::clone(), wallPolyPatch::clone(), symmetryPolyPatch::clone(), oversetPolyPatch::clone(), genericPolyPatch::clone(), symmetryPlanePolyPatch::clone(), cyclicSlipPolyPatch::clone(), nonuniformTransformCyclicPolyPatch::clone(), wedgePolyPatch::clone(), cyclicPeriodicAMIPolyPatch::clone(), mappedVariableThicknessWallPolyPatch::clone(), mappedPolyPatch::clone(), mappedWallPolyPatch::clone(), processorCyclicPolyPatch::clone(), faPatch::clone(), processorPolyPatch::clone(), oldCyclicPolyPatch::clone(), polyPatch::clone(), cyclicACMIPolyPatch::clone(), cyclicPolyPatch::clone(), cyclicAMIPolyPatch::clone(), LocalInteraction< CloudType >::correct(), MultiInteraction< CloudType >::correct(), StandardWallInteraction< CloudType >::correct(), RecycleInteraction< CloudType >::correct(), KinematicSurfaceFilm< CloudType >::drySplashInteraction(), lumpedPointMovement::hasPatchControl(), facePointPatch::index(), fvPatch::index(), cyclicACMIFvPatch::movePoints(), cyclicFaPatch::neighbPatchID(), mappedPolyPatch::neighbPolyPatchID(), mappedWallPolyPatch::neighbPolyPatchID(), cyclicAMIPolyPatch::neighbPolyPatchID(), cyclicPolyPatch::owner(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::patchData(), semiPermeableBaffleMassFractionFvPatchScalarField::phiY(), PatchCollisionDensity< CloudType >::postPatch(), ParticleErosion< CloudType >::postPatch(), PatchPostProcessing< CloudType >::postPatch(), PatchInteractionFields< CloudType >::postPatch(), PatchParticleHistogram< CloudType >::postPatch(), AMIWeights::read(), lumpedPointMovement::setPatchControl(), KinematicSurfaceFilm< CloudType >::splashInteraction(), ThermoSurfaceFilm< CloudType >::transferParcel(), KinematicSurfaceFilm< CloudType >::transferParcel(), mappedFixedInternalValueFvPatchField< Type >::updateCoeffs(), mappedFlowRateFvPatchVectorField::updateCoeffs(), filmPyrolysisRadiativeCoupledMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), KinematicSurfaceFilm< CloudType >::wetSplashInteraction(), and vtkWrite::write().
|
inlinenoexcept |
Definition at line 149 of file patchIdentifier.H.
|
inlinenoexcept |
Definition at line 155 of file patchIdentifier.H.
Referenced by boundaryMesh::addPatch(), boundaryMesh::changeFaces(), boundaryMesh::deletePatch(), boundaryMesh::patchify(), boundaryMesh::read(), and boundaryMesh::writeTriSurface().
|
inlinenoexcept |
Definition at line 161 of file patchIdentifier.H.
|
inlinenoexcept |
Definition at line 167 of file patchIdentifier.H.
|
inlinenoexcept |
Definition at line 173 of file patchIdentifier.H.
Definition at line 179 of file patchIdentifier.H.
References patchIdentifier::name().
void write | ( | Ostream & | os | ) | const |
Definition at line 89 of file patchIdentifier.C.
References token::END_STATEMENT, Foam::nl, os(), Ostream::writeEntry(), and Ostream::writeKeyword().
Referenced by Foam::operator<<(), boundaryPatch::write(), genericPolyPatch::write(), faPatch::write(), oldCyclicPolyPatch::write(), and polyPatch::write().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.