Public Member Functions | Static Public Member Functions | List of all members
patchIdentifier Class Reference

Identifies a patch by name and index, with optional physical type and group information. More...

Inheritance diagram for patchIdentifier:
Inheritance graph
[legend]

Public Member Functions

 patchIdentifier (const patchIdentifier &)=default
 
patchIdentifieroperator= (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 wordname () const noexcept
 
wordname () noexcept
 
label index () const noexcept
 
label & index () noexcept
 
const wordphysicalType () const noexcept
 
wordphysicalType () noexcept
 
const wordListinGroups () const noexcept
 
wordListinGroups () noexcept
 
bool inGroup (const word &name) const
 
void write (Ostream &os) const
 

Static Public Member Functions

static word defaultName (const label n=-1)
 

Detailed Description

Identifies a patch by name and index, with optional physical type and group information.

Source files

Definition at line 51 of file patchIdentifier.H.

Constructor & Destructor Documentation

◆ patchIdentifier() [1/6]

patchIdentifier ( const patchIdentifier )
default

◆ ~patchIdentifier()

virtual ~patchIdentifier ( )
virtualdefault

◆ patchIdentifier() [2/6]

Definition at line 27 of file patchIdentifier.C.

◆ patchIdentifier() [3/6]

patchIdentifier ( const word name,
const label  index 
)

Definition at line 35 of file patchIdentifier.C.

◆ patchIdentifier() [4/6]

patchIdentifier ( const word name,
const label  index,
const word physicalType,
const wordList inGroups = wordList() 
)

Definition at line 46 of file patchIdentifier.C.

◆ patchIdentifier() [5/6]

patchIdentifier ( const word name,
const dictionary dict,
const label  index 
)

Definition at line 61 of file patchIdentifier.C.

References dict, and dictionary::readIfPresent().

Here is the call graph for this function:

◆ patchIdentifier() [6/6]

patchIdentifier ( const patchIdentifier ident,
const label  index 
)

Definition at line 75 of file patchIdentifier.C.

Member Function Documentation

◆ defaultName()

static word defaultName ( const label  n = -1)
inlinestatic

Definition at line 72 of file patchIdentifier.H.

References n.

Referenced by voxelMeshSearch::makeMesh().

Here is the caller graph for this function:

◆ operator=()

patchIdentifier& operator= ( const patchIdentifier )
default

Referenced by polyPatch::operator=().

Here is the caller graph for this function:

◆ name() [1/2]

const word& name ( ) const
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().

◆ name() [2/2]

word& name ( )
inlinenoexcept

Definition at line 137 of file patchIdentifier.H.

◆ index() [1/2]

label index ( ) const
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().

◆ index() [2/2]

label& index ( )
inlinenoexcept

Definition at line 149 of file patchIdentifier.H.

◆ physicalType() [1/2]

const word& physicalType ( ) const
inlinenoexcept

◆ physicalType() [2/2]

word& physicalType ( )
inlinenoexcept

Definition at line 161 of file patchIdentifier.H.

◆ inGroups() [1/2]

const wordList& inGroups ( ) const
inlinenoexcept

Definition at line 167 of file patchIdentifier.H.

◆ inGroups() [2/2]

wordList& inGroups ( )
inlinenoexcept

Definition at line 173 of file patchIdentifier.H.

◆ inGroup()

bool inGroup ( const word name) const
inline

Definition at line 179 of file patchIdentifier.H.

References patchIdentifier::name().

Here is the call graph for this function:

◆ write()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this class was generated from the following files: