Input. More...
Go to the source code of this file.
Functions | |
meshDefDict | readIfPresent ("polyMeshPatches", polyPatchNames) |
const labelList | patchIDs (pbm.patchSet(polyPatchNames, false, true).sortedToc()) |
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 basicThermo::basicThermo(), BFGS::BFGS(), conjugateGradient::conjugateGradient(), laminar< ReactionThermo >::correct(), COxidationHurtMitchell< CloudType >::COxidationHurtMitchell(), DBFGS::DBFGS(), demandDrivenEntry< bool >::demandDrivenEntry(), DimensionedField< Type, Foam::pointMesh >::DimensionedField(), exprString::exprString(), GeometricField< Foam::vector, Foam::fvPatchField, Foam::volMesh >::GeometricField(), properties::getTrigger(), LBFGS::LBFGS(), objective::objective(), argList::parse(), regularWaveModel::readDict(), waveModel::readDict(), liquidProperties::readIfPresent(), dimensioned< vector >::readIfPresent(), dynamicCodeContext::setCodeContext(), SQP::SQP(), SR1::SR1(), and thermoSingleLayer::thermoSingleLayer().
const labelList patchIDs | ( | pbm. | patchSetpolyPatchNames, false, true).sortedToc( | ) |
Referenced by preservePatches::add(), snappyLayerDriver::addLayers(), snappyLayerDriver::addLayersSinglePass(), preservePatches::apply(), boundaryMesh::changeFaces(), transferModelList::correct(), injectionModelList::correct(), cellDistFuncs::correctBoundaryFaceCells(), cellDistFuncs::correctBoundaryPointCells(), curvatureSeparation::curvatureSeparation(), structuredDecomp::decompose(), snappyLayerDriver::doLayers(), patchProbes::findElements(), polyBoundaryMesh::findPatchIDs(), GeometricBoundaryField< Foam::vector, Foam::fvPatchField, Foam::volMesh >::GeometricBoundaryField(), externalDisplacementMeshMover::getPatch(), cellDistFuncs::getPatchIDs(), injectionModelList::info(), transferModelList::info(), layerParameters::layerParameters(), patchMeanVelocityForce::magUbarAve(), meshRefinement::makePatch(), polyBoundaryMesh::matchGroups(), cellDistFuncs::maxPatchSize(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), meshRefinement::meshedPatches(), patchDistMethod::New(), displacementMethod::New(), optMeshMovement::New(), patchDistMethod::patchTypes(), structuredRenumber::renumber(), sampledPatchInternalField::sampledPatchInternalField(), sampledPatchInternalField::sampleOnPoints(), Foam::selectPatchFaces(), fvMeshSubsetter::setCellSubset(), motionSmootherAlgo::setDisplacement(), motionSmootherAlgo::setDisplacementPatchFields(), faceSetOption::setFaceSelection(), faBoundaryMesh::setGroup(), polyBoundaryMesh::setGroup(), cellDistFuncs::sumPatchSize(), sampledPatch::update(), and externalCoupled::writeGeometry().
for | ( | const label patchi :patchIDs | ) |
Definition at line 43 of file checkPatchTopology.H.
References nFaceLabels, and pbm.
labelList faceLabels | ( | nFaceLabels | ) |
Referenced by singleProcessorFaceSets::add(), polyMeshAdder::add(), addPatchCellLayer::addedCells(), polyTopoChange::addMesh(), setToFaceZone::applyToSet(), face::areaInContact(), cellToFaceStencil::calcFaceCells(), cellToCellStencil::calcFaceCells(), zoneCellStencils::calcFaceCells(), FaceCellWave< Type, TrackingData >::cellToFace(), vtuSizing::copyFaceLabelsXml(), faMeshDecomposition::decomposeMesh(), FaceCellWave< Type, TrackingData >::enterDomain(), cellToFaceStencil::insertFaceCells(), cellToCellStencil::insertFaceCells(), zoneCellStencils::insertFaceCells(), FaceCellWave< Type, TrackingData >::leaveDomain(), faMeshTools::newMesh(), vtuSizing::renumberFaceLabelsXml(), Foam::selectPatchFaces(), faMatrix< Type >::setComponentReference(), faceSetOption::setFaceSelection(), faMatrix< Type >::setReferences(), faceCollapser::setRefinement(), removeFaces::setRefinement(), faMatrix< Type >::setValues(), faMatrix< Type >::setValuesFromList(), sensitivitySurface::smoothSensitivities(), Foam::meshTools::visNormal(), and Foam::meshTools::writeOBJ().
uindirectPrimitivePatch pp | ( | UIndirectList< face > | mesh.faces(), faceLabels, |
mesh. | points() | ||
) |
Referenced by KinematicSurfaceFilm< CloudType >::absorbInteraction(), isoSurfacePoint::adaptPatchFields(), preservePatches::add(), polyMeshAdder::add(), snappyLayerDriver::addLayers(), snappyLayerDriver::addLayersSinglePass(), polyTopoChange::addMesh(), fvMeshTools::addPatch(), meshRefinement::addPatch(), zoneCellStencils::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), cellToCellStencil::allCoupledFacesPatch(), preservePatches::apply(), searchableSurfaceToFaceZone::applyToSet(), lumpedPointMovement::areas(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), averageNeighbourFvGeometryScheme::averageCentres(), averageNeighbourFvGeometryScheme::averageNeighbourCentres(), snappySnapDriver::avgCellCentres(), patchMeshWriter::beginPiece(), meshRefinement::blockLeakFaces(), KinematicSurfaceFilm< CloudType >::bounceInteraction(), boundaryRadiationProperties::boundaryRadiationProperties(), treeDataPrimitivePatch< PatchType >::boxes(), Foam::meshTools::calcBoxPointNormals(), decompositionMethod::calcCellCells(), holeToFace::calcClosure(), curvatureSeparation::calcCosAngle(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), polyDualMesh::calcFeatures(), processorCyclicPolyPatch::calcGeometry(), snappySnapDriver::calcNearestSurface(), snappySnapDriver::calcSnapDistance(), viewFactor::calculate(), solarLoad::calculate(), hexRef8::checkMesh(), lumpedPointMovement::checkPatchControl(), Foam::collocatedPatch(), ConstantField< Type >::ConstantField(), reconstructedDistanceFunction::constructRDF(), Rebound< CloudType >::correct(), patchInjection::correct(), MultiInteraction< CloudType >::correct(), LocalInteraction< CloudType >::correct(), StandardWallInteraction< CloudType >::correct(), wallDistAddressing::correct(), limitTemperature::correct(), RecycleInteraction< CloudType >::correct(), meshRefinement::countEdgeFaces(), globalMeshData::coupledPatch(), ReynoldsAnalogy::Cp(), heThermo< BasicSolidThermo, MixtureType >::Cp(), heThermo< BasicSolidThermo, MixtureType >::CpByCpv(), heThermo< BasicSolidThermo, MixtureType >::Cpv(), meshRefinement::createBaffles(), structuredDecomp::decompose(), decompositionMethod::decompose(), snappySnapDriver::detectNearSurfaces(), directions::directions(), snappyLayerDriver::doLayers(), snappySnapDriver::doSnap(), KinematicSurfaceFilm< CloudType >::drySplashInteraction(), wallHeatFlux::execute(), Curle::execute(), faceCoupleInfo::faceLabels(), polyMeshTools::faceOrthogonality(), mappedPatchBase::facePoints(), FacePostProcessing< CloudType >::FacePostProcessing(), polyMeshTools::faceSkewness(), polyMeshTools::faceWeights(), faMesh::faMesh(), patchProbes::findElements(), mappedPatchBase::findLocalSamples(), lduPrimitiveMeshAssembly::findNbrMeshId(), volPointInterpolation::flatBoundaryField(), for(), lumpedPointMovement::forcesAndMoments(), heThermo< BasicSolidThermo, 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< BasicSolidThermo, MixtureType >::he(), heheuPsiThermo< BasicPsiThermo, MixtureType >::heheuPsiThermo(), KinematicParcel< ParcelType >::hitPatch(), if(), isoSurfaceBase::ignoreCyclics(), singleDirectionUniformBin::initialise(), heatExchangerModel::initialise(), uniformBin::initialise(), viewFactor::initialise(), fluxSummary::initialiseCellZoneAndDirection(), fluxSummary::initialiseFaceZone(), fluxSummary::initialiseFaceZoneAndDirection(), processorPolyPatch::initOrder(), cyclicACMIPolyPatch::initOrder(), processorCyclicPolyPatch::initOrder(), cyclicPolyPatch::initOrder(), isoSurfacePoint::isoSurfacePoint(), heSolidThermo< BasicSolidThermo, MixtureType >::Kappa(), temperatureCoupledBase::kappa(), interfaceOxideRate< Thermo, OtherThermo >::Kexp(), wallPointAddressing::leaveDomain(), localPointRegion::localPointRegion(), highAspectRatioFvGeometryScheme::makeAverageCentres(), mappedVariableThicknessWallFvPatch::makeDeltaCoeffs(), meshRefinement::makePatch(), fvMatrix< Type >::mapContributions(), trackingInverseDistance::markBoundaries(), inverseDistance::markBoundaries(), momentOfInertia::massPropertiesPatch(), meshStructure::meshStructure(), medialAxisMeshMover::move(), regionModel1D::moveMesh(), solidBodyFvGeometryScheme::movePoints(), heheuPsiThermo< BasicPsiThermo, MixtureType >::mub(), heheuPsiThermo< BasicPsiThermo, MixtureType >::muu(), regionModel::nbrCoupledPatchID(), polyBoundaryMesh::neighbourEdges(), cyclicPointPatch::neighbPatch(), cyclicAMIPointPatch::neighbPatch(), cyclicACMIPointPatch::neighbPatch(), cyclicACMIPolyPatch::neighbPatch(), cyclicPolyPatch::neighbPatch(), cyclicAMIPolyPatch::neighbPatch(), wallTransmissivityModel::New(), wallAbsorptionEmissionModel::New(), PatchFunction1< Foam::vector >::New(), PatchFunction1< Foam::vector >::NewCompat(), PatchFunction1< Foam::vector >::NewIfPresent(), meshSearch::nonCoupledBoundaryTree(), faceShading::nonCoupledPatches(), zoneCellStencils::nonEmptyFacesPatch(), opaqueDiffusive::opaqueDiffusive(), opaqueReflective::opaqueReflective(), labelRangeOp< polyPatch >::operator()(), Foam::operator<<(), Foam::operator>>(), oldCyclicPolyPatch::order(), processorPolyPatch::order(), cyclicACMIPolyPatch::order(), processorCyclicPolyPatch::order(), cyclicPolyPatch::order(), cyclicAMIPolyPatch::order(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::patchData(), polyMeshAdder::patchFacePairs(), sampledPatch::patchIDs(), patchInteractionDataList::patchInteractionDataList(), enthalpySorptionFvPatchScalarField::patchSource(), PatchCollisionDensity< CloudType >::postPatch(), CloudFunctionObjectList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::postPatch(), ParticleErosion< CloudType >::postPatch(), PatchInteractionFields< CloudType >::postPatch(), ParticlePostProcessing< CloudType >::postPatch(), ParticleHistogram< 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(), SloanRenumber::renumber(), structuredRenumber::renumber(), snappySnapDriver::repatchToSurface(), AMIWeights::reportPatch(), sampledPatchInternalField::sampleOnPoints(), sampledPatch::sampleOnPoints(), sampledFaceZone::sampleOnPoints(), motionSmootherAlgo::scaleMesh(), meshRefinement::selectSeparatedCoupledFaces(), uniformBin::setBinsAddressing(), extractEulerianParticles::setBlockedFaces(), motionSmootherAlgo::setDisplacement(), rotorDiskSource::setFaceArea(), fvGeometryScheme::setMeshPhi(), lumpedPointMovement::setPatchControl(), removeCells::setRefinement(), addPatchCellLayer::setRefinement(), shortestPathSet::shortestPathSet(), snappySnapDriver::smoothDisplacement(), solidAbsorption::solidAbsorption(), kinematicSingleLayer::solveMomentum(), kinematicSingleLayer::solveThickness(), KinematicSurfaceFilm< CloudType >::splashInteraction(), Foam::sumNeighbours(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), heheuPsiThermo< BasicPsiThermo, MixtureType >::Tb(), meshRefinement::testSyncBoundaryFaceList(), ThermoSurfaceFilm< CloudType >::transferParcel(), KinematicSurfaceFilm< CloudType >::transferParcel(), transparent::transparent(), polynomial::Tsat(), function1::Tsat(), ensightFaces::uniqueMeshPoints(), dynamicMotionSolverFvMeshAMI::update(), lduPrimitiveMeshAssembly::update(), sampledFaceZone::update(), sampledPatch::update(), oversetFvMeshBase::updateAddressing(), cellMotionFvPatchField< Type >::updateCoeffs(), energyJumpAMIFvPatchScalarField::updateCoeffs(), energyJumpFvPatchScalarField::updateCoeffs(), fixedPressureCompressibleDensityFvPatchScalarField::updateCoeffs(), outletMappedUniformInletHeatAdditionFvPatchField::updateCoeffs(), supersonicFreestreamFvPatchVectorField::updateCoeffs(), speciesSorptionFvPatchScalarField::updateCoeffs(), turbulentTemperatureRadCoupledMixedFvPatchScalarField::updateCoeffs(), humidityTemperatureCoupledMixedFvPatchScalarField::updateCoeffs(), movingWallVelocityFvPatchVectorField::Uwall(), zoneCellStencils::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), polyMeshTools::volRatio(), wallLayerCells::wallLayerCells(), WallLocalSpringSliderDashpot< CloudType >::WallLocalSpringSliderDashpot(), streamLineBase::wallPatch(), KinematicSurfaceFilm< CloudType >::wetSplashInteraction(), OBJstream::write(), AMIWeights::write(), wallShearStress::write(), ensightFaces::write(), vtkWrite::write(), Foam::vtk::writeCellSetFaces(), polyBoundaryMesh::writeData(), Foam::vtk::writeFaceSet(), patchMeshWriter::writeNeighIDs(), 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 74 of file checkPatchTopology.H.
else if | ( | UPstream::parRun() | ) |
Definition at line 78 of file checkPatchTopology.H.
References badEdgesPtr, forAll, foundError, Foam::max(), mesh, pointSetPtr, pp(), Foam::reduce(), and Foam::Zero.
if | ( | foundError | ) |
Definition at line 137 of file checkPatchTopology.H.
References badEdges(), Foam::Info, mesh, Foam::nl, pp(), Foam::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(), boundaryRadiationProperties::boundaryRadiationProperties(), SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::cacheFilmFields(), curvatureSeparation::calcInvR1(), patchInjection::correct(), pointPatchDist::correct(), directionalPressureGradientExplicitSource::correct(), meshRefinement::createBaffles(), Foam::createReconstructMap(), motionSmootherAlgo::curPoints(), structuredDecomp::decompose(), polyMeshTools::faceOrthogonality(), FacePostProcessing< CloudType >::FacePostProcessing(), polyMeshTools::faceSkewness(), polyMeshTools::faceWeights(), cellVolumeWeight::findHoles(), inverseDistance::findHoles(), coupleGroupIdentifier::findOtherPatchID(), for(), meshRefinement::getFaceZoneInfo(), decompositionConstraint::getMinBoundaryValue(), if(), injectionModelList::info(), transferModelList::info(), singleDirectionUniformBin::initialise(), uniformBin::initialise(), fluxSummary::initialiseCellZoneAndDirection(), SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::inject(), SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::injectParticles(), interpolationCellPatchConstrained< Type >::interpolate(), highAspectRatioFvGeometryScheme::makeAverageCentres(), trackingInverseDistance::markBoundaries(), inverseDistance::markBoundaries(), cellVolumeWeight::markPatchCells(), oversetPolyPatch::master(), Cloud< passivePositionParticle >::move(), solidBodyFvGeometryScheme::movePoints(), regionModel::nbrCoupledPatchID(), faceShading::nonCoupledPatches(), Foam::operator<<(), polyMeshAdder::patchFacePairs(), patchInjection::patchInjection(), polyMeshAdder::procPatchPairs(), wallHeatFlux::read(), wallShearStress::read(), fieldExtents::read(), fvMeshTools::removeEmptyPatches(), RemoveParcels< CloudType >::RemoveParcels(), structuredRenumber::renumber(), sampledMeshedSurface::sampleOnFaces(), Foam::selectPatchFaces(), rotorDiskSource::setFaceArea(), faceSetOption::setFaceSelection(), shortestPathSet::shortestPathSet(), Foam::sumNeighbours(), dynamicMotionSolverFvMeshAMI::update(), polyMeshTools::volRatio(), AMIWeights::write(), and momentum::write().
wordRes polyPatchNames |
Definition at line 29 of file checkPatchTopology.H.
Referenced by Foam::selectPatchFaces().
nFaceLabels = 0 |
Definition at line 42 of file checkPatchTopology.H.
Referenced by for(), vtuSizing::operator==(), Foam::selectPatchFaces(), and vtuSizing::sizeOf().
labelHashSet* pointSetPtr = nullptr |
Definition at line 69 of file checkPatchTopology.H.
Referenced by PrimitivePatch<::Foam::List< labelledTri >, pointField >::checkPointManifold(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::checkTopology(), and if().
labelHashSet* badEdgesPtr = &badEdges |
Definition at line 70 of file checkPatchTopology.H.
Referenced by if(), and PrimitivePatch<::Foam::List< labelledTri >, pointField >::surfaceType().
foundError = false |
Definition at line 72 of file checkPatchTopology.H.
Referenced by PatchTools::checkOrientation(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::checkPointManifold(), PrimitivePatch<::Foam::List< labelledTri >, pointField >::checkTopology(), if(), and PrimitivePatch<::Foam::List< labelledTri >, pointField >::surfaceType().
else |
Definition at line 131 of file checkPatchTopology.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.