Input. More...
Go to the source code of this file.
Functions | |
| meshDefDict | readIfPresent ("polyMeshPatches", polyPatchNames) |
| const labelList | patchIDs (pbm.indices(polyPatchNames, true)) |
| for (const label patchi :patchIDs) | |
| labelList | faceLabels (nFaceLabels) |
| uindirectPrimitivePatch | pp (UIndirectList< face >(mesh.faces(), faceLabels), mesh.points()) |
| labelHashSet | badEdges (pp.nEdges()/20) |
| if (returnReduceAnd(pp.empty())) | |
| else | if (UPstream::parRun()) |
| if (foundError) | |
Variables | |
| const polyBoundaryMesh & | pbm = mesh.boundaryMesh() |
| wordRes | polyPatchNames |
| label | nFaceLabels = 0 |
| labelHashSet * | pointSetPtr = nullptr |
| labelHashSet * | badEdgesPtr = &badEdges |
| bool | foundError = false |
| else | |
| meshDefDict readIfPresent | ( | "polyMeshPatches" | , |
| polyPatchNames | |||
| ) |
Referenced by boundaryRegion::boundaryTypes(), laminar< ReactionThermo >::correct(), COxidationHurtMitchell< CloudType >::COxidationHurtMitchell(), demandDrivenEntry< Type >::demandDrivenEntry(), exprString::exprString(), GeometricField< Type, Foam::pointPatchField, Foam::pointMesh >::GeometricField(), properties::getTrigger(), cellTable::materialTypes(), maxDurationCondition::maxDurationCondition(), Foam::names_impl(), argList::parse(), regularWaveModel::readDict(), waveModel::readDict(), dimensioned< Type >::readIfPresent(), liquidProperties::readIfPresent(), and dynamicCodeContext::setCodeContext().

| const labelList patchIDs | ( | pbm. | indicespolyPatchNames, true | ) |
Referenced by preservePatches::add(), snappyLayerDriver::addLayers(), snappyLayerDriver::addLayersSinglePass(), preservePatches::apply(), boundaryMesh::changeFaces(), injectionModelList::correct(), transferModelList::correct(), cellDistFuncs::correctBoundaryCells(), cellDistFuncs::correctBoundaryFaceCells(), cellDistFuncs::correctBoundaryPointCells(), curvatureSeparation::curvatureSeparation(), structuredDecomp::decompose(), snappyLayerDriver::doLayers(), snappyLayerDriver::dupFaceZonePoints(), GeometricBoundaryField< Type, PatchField, GeoMesh >::evaluateSelected(), patchProbes::findElements(), GeometricBoundaryField< Type, PatchField, GeoMesh >::GeometricBoundaryField(), externalDisplacementMeshMover::getPatch(), cellDistFuncs::getPatchIDs(), injectionModelList::info(), transferModelList::info(), volPointInterpolationAdjoint::interpolateSensitivitiesField(), layerParameters::layerParameters(), meshRefinement::makePatch(), polyBoundaryMesh::matchGroups(), cellDistFuncs::maxPatchSize(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), meshRefinement::meshedPatches(), patchDistMethod::New(), displacementMethod::New(), structuredRenumber::renumber(), sampledPatchInternalField::sampleOnPoints(), Foam::selectPatchFaces(), fvMeshSubsetter::setCellSubset(), motionSmootherAlgo::setDisplacement(), motionSmootherAlgo::setDisplacementPatchFields(), faceSetOption::setFaceSelection(), faBoundaryMesh::setGroup(), polyBoundaryMesh::setGroup(), displacementMethod::setPatchIDs(), cellDistFuncs::sumPatchSize(), sampledPatch::update(), and externalCoupled::writeGeometry().

| for | ( | const label patchi :patchIDs | ) |
Definition at line 38 of file checkPatchTopology.H.
References nFaceLabels, and pbm.
| labelList faceLabels | ( | nFaceLabels | ) |
Referenced by singleProcessorFaceSets::add(), addPatchCellLayer::addedCells(), setAndNormalToFaceZone::applyToSet(), setToFaceZone::applyToSet(), face::areaInContact(), cellToCellStencil::calcFaceCells(), cellToFaceStencil::calcFaceCells(), zoneCellStencils::calcFaceCells(), FaceCellWave< Type, TrackingData >::cellToFace(), vtuSizing::copyFaceLabelsXml(), cellDistFuncs::correctBoundaryCells(), faMeshDecomposition::decomposeMesh(), FaceCellWave< Type, int >::FaceCellWave(), cellToCellStencil::insertFaceCells(), cellToFaceStencil::insertFaceCells(), zoneCellStencils::insertFaceCells(), faMeshTools::newMesh(), vtuSizing::renumberFaceLabelsXml(), Foam::selectPatchFaces(), faMatrix< Type >::setComponentReference(), faceSetOption::setFaceSelection(), faMatrix< Type >::setReferences(), faceCollapser::setRefinement(), removeFaces::setRefinement(), faMatrix< Type >::setValues(), faMatrix< Type >::setValuesFromList(), Foam::meshTools::visNormal(), and Foam::meshTools::writeOBJ().

| uindirectPrimitivePatch pp | ( | UIndirectList< face > | mesh.faces(), faceLabels, |
| mesh. | points() | ||
| ) |
Referenced by KinematicSurfaceFilm< CloudType >::absorbInteraction(), ThermoSurfaceFilm< CloudType >::absorbInteraction(), isoSurfacePoint::adaptPatchFields(), preservePatches::add(), polyMeshAdder::add(), snappyLayerDriver::addLayers(), snappyLayerDriver::addLayersSinglePass(), polyTopoChange::addMesh(), meshRefinement::addPatch(), fvMeshTools::addPatch(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), zoneCellStencils::allCoupledFacesPatch(), preservePatches::apply(), searchableSurfaceToFaceZone::applyToSet(), lumpedPointMovement::areas(), sensitivitySurface::assembleSensitivities(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), snappySnapDriver::avgCellCentres(), patchMeshWriter::beginPiece(), meshRefinement::blockLeakFaces(), KinematicSurfaceFilm< CloudType >::bounceInteraction(), boundaryRadiationProperties::boundaryRadiationProperties(), treeDataPrimitivePatch< PatchType >::boxes(), volPointInterpolationAdjoint::calcBoundaryAddressing(), Foam::meshTools::calcBoxPointNormals(), Foam::calcCellCellsImpl(), holeToFace::calcClosure(), curvatureSeparation::calcCosAngle(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), polyDualMesh::calcFeatures(), processorCyclicPolyPatch::calcGeometry(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), solarLoad::calculate(), viewFactor::calculate(), laplacianConstraintPointSmoother::calculate(), hexRef8::checkMesh(), lumpedPointMovement::checkPatchControl(), Foam::collocatedPatch(), hexRef8::consistentSlowRefinement2(), reconstructedDistanceFunction::constructRDF(), ensightMesh::correct(), patchInjection::correct(), LocalInteraction< CloudType >::correct(), MultiInteraction< CloudType >::correct(), Rebound< CloudType >::correct(), RecycleInteraction< CloudType >::correct(), StandardWallInteraction< CloudType >::correct(), limitTemperature::correct(), wallDistAddressing::correct(), meshRefinement::countEdgeFaces(), globalMeshData::coupledPatch(), ReynoldsAnalogy::Cp(), heThermo< BasicThermo, MixtureType >::CpByCpv(), heThermo< BasicThermo, MixtureType >::Cpv(), meshRefinement::createBaffles(), structuredDecomp::decompose(), decompositionMethod::decompose(), snappySnapDriver::detectNearSurfaces(), snappyLayerDriver::determineSidePatches(), directions::directions(), snappyLayerDriver::doLayers(), snappySnapDriver::doSnap(), KinematicSurfaceFilm< CloudType >::drySplashInteraction(), snappyLayerDriver::dupFaceZonePoints(), Curle::execute(), wallHeatFlux::execute(), faceCoupleInfo::faceLabels(), polyMeshTools::faceOrthogonality(), mappedPatchBase::facePoints(), FacePostProcessing< CloudType >::FacePostProcessing(), polyMeshTools::faceSkewness(), polyMeshTools::faceWeights(), faMesh::faMesh(), addPatchCellLayer::findDuplicatedPoints(), patchProbes::findElements(), mappedPatchBase::findLocalSamples(), lduPrimitiveMeshAssembly::findNbrMeshId(), volPointInterpolation::flatBoundaryField(), volPointInterpolationAdjoint::flatBoundaryField(), Foam::flattenBoundary(), for(), lumpedPointMovement::forcesAndMoments(), fvMeshSubsetter::fvMeshSubset(), heThermo< BasicThermo, MixtureType >::gamma(), PatchTools::gatherAndMerge(), removeCells::getExposedFaces(), snappySnapDriver::getFacePoints(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), decompositionConstraint::getMinBoundaryValue(), externalDisplacementMeshMover::getPatch(), addPatchCellLayer::globalEdgeFaces(), globalIndexAndTransform::globalIndexAndTransform(), lumpedPointMovement::hasPatchControl(), heThermo< BasicPsiThermo, MixtureType >::hc(), heheuPsiThermo< BasicPsiThermo, MixtureType >::heheuPsiThermo(), KinematicParcel< ParcelType >::hitPatch(), if(), isoSurfaceBase::ignoreCyclics(), heatExchangerModel::initialise(), viewFactor::initialise(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), cyclicACMIPolyPatch::initOrder(), cyclicPolyPatch::initOrder(), processorPolyPatch::initOrder(), processorCyclicPolyPatch::initOrder(), volPointInterpolationAdjoint::interpolateBoundaryField(), isoSurfacePoint::isoSurfacePoint(), heSolidThermo< BasicSolidThermo, MixtureType >::Kappa(), temperatureCoupledBase::kappa(), heThermo< BasicPsiThermo, MixtureType >::kappaEff(), interfaceOxideRate< Thermo, OtherThermo >::Kexp(), wallPointAddressing::leaveDomain(), localPointRegion::localPointRegion(), highAspectRatioFvGeometryScheme::makeAverageCentres(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), meshRefinement::makePatch(), fvMatrix< Type >::mapContributions(), inverseDistance::markBoundaries(), trackingInverseDistance::markBoundaries(), momentOfInertia::massPropertiesPatch(), meshStructure::meshStructure(), medialAxisMeshMover::move(), regionModel1D::moveMesh(), solidBodyFvGeometryScheme::movePoints(), heheuPsiThermo< BasicPsiThermo, MixtureType >::mub(), heheuPsiThermo< BasicPsiThermo, MixtureType >::muu(), regionModel::nbrCoupledPatchID(), polyBoundaryMesh::neighbourEdges(), cyclicACMIPointPatch::neighbPatch(), cyclicACMIPolyPatch::neighbPatch(), cyclicAMIPointPatch::neighbPatch(), cyclicAMIPolyPatch::neighbPatch(), cyclicPointPatch::neighbPatch(), cyclicPolyPatch::neighbPatch(), wallAbsorptionEmissionModel::New(), wallTransmissivityModel::New(), PatchFunction1< Type >::New(), PatchFunction1< Type >::NewCompat(), PatchFunction1< Type >::NewIfPresent(), meshSearch::nonCoupledBoundaryTree(), faceShading::nonCoupledPatches(), zoneCellStencils::nonEmptyFacesPatch(), opaqueDiffusive::opaqueDiffusive(), opaqueReflective::opaqueReflective(), labelRangeOp< polyPatch >::operator()(), Foam::operator<<(), Foam::operator>>(), cyclicACMIPolyPatch::order(), cyclicAMIPolyPatch::order(), cyclicPolyPatch::order(), oldCyclicPolyPatch::order(), processorPolyPatch::order(), processorCyclicPolyPatch::order(), KinematicCloud< CloudType >::patchData(), polyMeshAdder::patchFacePairs(), sampledPatch::patchIDs(), patchInteractionDataList::patchInteractionDataList(), enthalpySorptionFvPatchScalarField::patchSource(), pointBoundaryMesh::pointBoundaryMesh(), pointSmoother::pointSmoother(), sensitivitySurfacePoints::populateExtendedIDs(), ParticleErosion< CloudType >::postPatch(), ParticleHistogram< CloudType >::postPatch(), ParticlePostProcessing< CloudType >::postPatch(), PatchCollisionDensity< CloudType >::postPatch(), PatchInteractionFields< CloudType >::postPatch(), fvMeshDistribute::printMeshInfo(), singleDirectionUniformBin::processField(), uniformBin::processField(), polyMeshAdder::procPatchPairs(), heheuPsiThermo< BasicPsiThermo, MixtureType >::psib(), heheuPsiThermo< BasicPsiThermo, MixtureType >::psiu(), AMIWeights::read(), fieldExtents::read(), boundaryMesh::read(), processorCyclicPolyPatch::referPatch(), fvMeshTools::removeEmptyPatches(), RemoveParcels< CloudType >::RemoveParcels(), structuredRenumber::renumber(), SloanRenumber::renumber(), pointBoundaryMesh::reorder(), snappySnapDriver::repatchToSurface(), AMIWeights::reportPatch(), sampledFaceZone::sampleOnPoints(), sampledPatch::sampleOnPoints(), sampledPatchInternalField::sampleOnPoints(), motionSmootherAlgo::scaleMesh(), meshRefinement::selectSeparatedCoupledFaces(), sensitivitySurfacePoints::sensitivitySurfacePoints(), uniformBin::setBinsAddressing(), extractEulerianParticles::setBlockedFaces(), motionSmootherAlgo::setDisplacement(), rotorDiskSource::setFaceArea(), fvGeometryScheme::setMeshPhi(), lumpedPointMovement::setPatchControl(), removeCells::setRefinement(), tetDecomposer::setRefinement(), addPatchCellLayer::setRefinement(), shortestPathSet::shortestPathSet(), snappySnapDriver::smoothDisplacement(), solidAbsorption::solidAbsorption(), KinematicSurfaceFilm< CloudType >::splashInteraction(), Foam::sumNeighbours(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), heheuPsiThermo< BasicPsiThermo, MixtureType >::Tb(), meshRefinement::testSyncBoundaryFaceList(), KinematicSurfaceFilm< CloudType >::transferParcel(), ThermoSurfaceFilm< CloudType >::transferParcel(), transparent::transparent(), function1::Tsat(), polynomial::Tsat(), ensightFaces::uniqueMeshPoints(), dynamicMotionSolverFvMeshAMI::update(), sampledFaceZone::update(), sampledPatch::update(), lduPrimitiveMeshAssembly::update(), oversetFvMeshBase::updateAddressing(), fixedPressureCompressibleDensityFvPatchScalarField::updateCoeffs(), supersonicFreestreamFvPatchVectorField::updateCoeffs(), cellMotionFvPatchField< Type >::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), speciesSorptionFvPatchScalarField::updateCoeffs(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), movingWallVelocityFvPatchVectorField::Uwall(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), zoneCellStencils::validBoundaryFaces(), polyMeshTools::volRatio(), wallLayerCells::wallLayerCells(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), streamLineBase::wallPatch(), KinematicSurfaceFilm< CloudType >::wetSplashInteraction(), AMIWeights::write(), wallShearStress::write(), vtkWrite::write(), OBJstream::write(), ensightFaces::write(), Foam::vtk::writeCellSetFaces(), faBoundaryMesh::writeEntry(), polyBoundaryMesh::writeEntry(), Foam::vtk::writeFaceSet(), patchMeshWriter::writeNeighIDs(), caseInfo::writePatches(), Foam::ensightOutput::writePointField(), patchMeshWriter::writePoints(), patchMeshWriter::writePolys(), patchMeshWriter::writePolysLegacy(), Foam::ensightOutput::writeVolField(), lumpedPointMovement::writeVTP(), AMIWeights::writeWeightField(), lumpedPointMovement::writeZonesVTP(), and meshRefinement::zonify().
| labelHashSet badEdges | ( | pp.nEdges()/ | 20 | ) |
| if | ( | returnReduceAnd(pp.empty()) | ) |
Definition at line 69 of file checkPatchTopology.H.
| else if | ( | UPstream::parRun() | ) |
Definition at line 73 of file checkPatchTopology.H.
References badEdgesPtr, forAll, foundError, Foam::max(), mesh, pointSetPtr, pp(), Foam::reduce(), and Foam::Zero.

| if | ( | foundError | ) |
Definition at line 132 of file checkPatchTopology.H.
References badEdges(), Foam::Info, mesh, Foam::nl, pp(), returnReduce(), and writer().

| const polyBoundaryMesh& pbm = mesh.boundaryMesh() |
Definition at line 27 of file checkPatchTopology.H.
Referenced by preservePatches::add(), polyMeshAdder::add(), snappyLayerDriver::addLayers(), snappyLayerDriver::addLayersSinglePass(), preservePatches::apply(), searchableSurfaceToFaceZone::applyToSet(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), meshRefinement::balance(), zoneBlended< Type >::blendingFactor(), boundaryRadiationProperties::boundaryRadiationProperties(), SurfaceFilmModel< CloudType >::cacheFilmFields(), volPointInterpolationAdjoint::calcBoundaryAddressing(), Foam::calcCellCellsImpl(), curvatureSeparation::calcInvR1(), pointPatchDist::correct(), ensightMesh::correct(), patchInjection::correct(), directionalPressureGradientExplicitSource::correct(), cellDistFuncs::correctBoundaryFaceCells(), cellDistFuncs::correctBoundaryPointCells(), meshRefinement::createBaffles(), Foam::createReconstructMap(), motionSmootherAlgo::curPoints(), structuredDecomp::decompose(), snappySnapDriver::doSnap(), polyMeshTools::faceOrthogonality(), FacePostProcessing< CloudType >::FacePostProcessing(), polyMeshTools::faceSkewness(), polyMeshTools::faceWeights(), cellVolumeWeight::findHoles(), inverseDistance::findHoles(), coupleGroupIdentifier::findOtherPatchID(), volPointInterpolation::flatBoundaryField(), Foam::flattenBoundary(), for(), fvBoundaryMesh::fvBoundaryMesh(), meshRefinement::getFaceZoneInfo(), decompositionConstraint::getMinBoundaryValue(), if(), injectionModelList::info(), transferModelList::info(), dynamicMotionSolverFvMeshAMI::init(), singleDirectionUniformBin::initialise(), uniformBin::initialise(), fluxSummary::initialiseCellZoneAndDirection(), SurfaceFilmModel< CloudType >::inject(), SurfaceFilmModel< CloudType >::injectParticles(), interpolationCellPatchConstrained< Type >::interpolate(), highAspectRatioFvGeometryScheme::makeAverageCentres(), inverseDistance::markBoundaries(), trackingInverseDistance::markBoundaries(), cellVolumeWeight::markPatchCells(), betaMax::markProcessorEdges(), oversetPolyPatch::master(), Cloud< ParticleType >::move(), solidBodyFvGeometryScheme::movePoints(), regionModel::nbrCoupledPatchID(), faceShading::nonCoupledPatches(), Foam::operator<<(), polyMeshAdder::patchFacePairs(), patchInjection::patchInjection(), pointBoundaryMesh::pointBoundaryMesh(), polyMeshAdder::procPatchPairs(), Curle::read(), fieldExtents::read(), wallShearStress::read(), binModel::read(), heatTransferCoeffModel::read(), nearWallFields::read(), wallHeatFlux::read(), forces::read(), fvBoundaryMesh::readUpdate(), fvMeshTools::removeEmptyPatches(), RemoveParcels< CloudType >::RemoveParcels(), structuredRenumber::renumber(), sampledMeshedSurface::sampleOnFaces(), Foam::selectPatchFaces(), rotorDiskSource::setFaceArea(), faceSetOption::setFaceSelection(), tetDecomposer::setRefinement(), shortestPathSet::shortestPathSet(), displacementSmartPointSmoothingMotionSolver::solve(), Foam::sumNeighbours(), dynamicMotionSolverFvMeshAMI::update(), polyMeshTools::volRatio(), AMIWeights::write(), momentum::write(), viewFactorHeatFlux::write(), caseInfo::writePatches(), and Foam::ensightOutput::writeVolField().
| wordRes polyPatchNames |
Definition at line 29 of file checkPatchTopology.H.
Referenced by Foam::selectPatchFaces().
| nFaceLabels = 0 |
Definition at line 37 of file checkPatchTopology.H.
Referenced by for(), vtuSizing::operator==(), Foam::selectPatchFaces(), and vtuSizing::sizeOf().
| labelHashSet* pointSetPtr = nullptr |
Definition at line 64 of file checkPatchTopology.H.
Referenced by PrimitivePatch< FaceList, PointField >::checkPointManifold(), PrimitivePatch< FaceList, PointField >::checkTopology(), and if().
| labelHashSet* badEdgesPtr = &badEdges |
Definition at line 65 of file checkPatchTopology.H.
Referenced by if(), and PrimitivePatch< FaceList, PointField >::surfaceType().
| foundError = false |
Definition at line 67 of file checkPatchTopology.H.
Referenced by PatchTools::checkOrientation(), PrimitivePatch< FaceList, PointField >::checkPointManifold(), PrimitivePatch< FaceList, PointField >::checkTopology(), if(), and PrimitivePatch< FaceList, PointField >::surfaceType().
| else |
Definition at line 125 of file checkPatchTopology.H.