meshRefinementBlock.C File Reference
Include dependency graph for meshRefinementBlock.C:

Go to the source code of this file.

Functions

 forAll (testFaces, i)
 
surface1 clear ()
 
List< wallPoints > allFaceInfo (mesh_.nFaces())
 
List< wallPoints > allCellInfo (mesh_.nCells())
 
const bitSet isBlockedFace (intersectedFaces())
 
wallPoints::trackData td (isBlockedFace, regionToBlockSize)
 
FaceCellWave< wallPoints, wallPoints::trackData > wallDistCalc (mesh_, changedFaces, faceDist, allFaceInfo, allCellInfo, 0, td)
 
wallDistCalc iterate (nIters)
 
 if (debug &meshRefinement::MESH)
 
scalarField smallGapDistance (mesh_.nCells(), 0.0)
 
 forAll (allCellInfo, celli)
 
 if (debug)
 
 forAll (smallGapDistance, celli)
 
 if (returnReduce(nRefine, sumOp< label >()) > returnReduce(nAllowRefine, sumOp< label >()))
 
return returnReduce (nRefine-oldNRefine, sumOp< label >())
 

Variables

label nMulti = 0
 
label nSmallGap = 0
 
const label oldNRefine = nRefine
 

Detailed Description

Original source file meshRefinementBlock.C

Definition in file meshRefinementBlock.C.

Function Documentation

◆ forAll() [1/3]

◆ clear()

patchInterps clear ( )

Referenced by exprDriver::addVariables(), faPatchData::assign(), bitSet::assign(), faPatchData::assign_coupled(), HashSet< word, Hash< word > >::assignMany(), ILList< LListBase, T >::clear(), IjkField< Foam::vector >::clear(), PtrList< transferModel >::clear(), DictionaryBase< DLPtrList< T >, T >::clear(), LPtrList< LListBase, T >::clear(), HashPtrTable< exprResult >::clear(), keyType::clear(), wordRe::clear(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::clear(), ZoneMesh< cellZone, polyMesh >::clear(), UnsortedMeshedSurface< Face >::clear(), dictionary::clear(), PtrDynList< Foam::profilingInformation >::clearStorage(), DynamicList< Foam::vector >::clearStorage(), DynamicField< Foam::vector >::clearStorage(), HashTable< const regIOobject * >::clearStorage(), ensightFaMesh::correct(), ensightMesh::correct(), tmp< Foam::surfaceInterpolationScheme< GType > >::cref(), refPtr< Foam::mapDistributePolyMesh >::cref(), DSMCCloud< ParcelType >::DSMCCloud(), tmp< Foam::surfaceInterpolationScheme< GType > >::emplace(), refPtr< Foam::mapDistributePolyMesh >::emplace(), fieldsExpression::execute(), fieldExpression::execute(), sampledFaceZone::expire(), ensightMesh::expire(), sampledPatch::expire(), exprValue::exprValue(), faceTriangulation::faceTriangulation(), exprResult::getResult(), topoSet::invert(), seriesWriter::load(), mergedSurf::merge(), moleculeCloud::moleculeCloud(), ILList< LListBase, T >::operator=(), UILList< LListBase, T >::operator=(), SortableList< T >::operator=(), LPtrList< LListBase, T >::operator=(), keyType::operator=(), regExpPosix::operator=(), wordRe::operator=(), regExpCxx::operator=(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::operator=(), tmp< Foam::surfaceInterpolationScheme< GType > >::operator=(), refPtr< Foam::mapDistributePolyMesh >::operator=(), CircularBuffer< T >::operator=(), DynamicList< Foam::vector >::operator=(), UnsortedMeshedSurface< Face >::operator=(), Matrix< RectangularMatrix< Type >, Type >::operator=(), exprResult::operator=(), HashTable< const regIOobject * >::operator=(), MeshedSurface< Foam::face >::operator=(), dictionary::operator=(), cuttingSurface::performCut(), cuttingPlane::performCut(), SubStrings< StringType >::pop_back(), PtrDynList< Foam::profilingInformation >::pop_back(), List< Field< scalar > >::pop_back(), DynamicField< Foam::vector >::pop_back(), DynamicList< Foam::vector >::pop_back(), SubStrings< StringType >::pop_front(), extendedEdgeMeshFormat::read(), NASedgeFormat::read(), OBJsurfaceFormat< Face >::read(), extendedFeatureEdgeMeshFormat::read(), OFFsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), AC3DsurfaceFormat< Face >::read(), ABAQUSsurfaceFormat< Face >::read(), GTSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), edgeMeshFormat::read(), VTKsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), ABAQUSCore::readHelper::read(), schemesLookup::read(), UnsortedMeshedSurface< Face >::read(), MeshedSurface< Foam::face >::read(), cellTable::readDict(), exprString::readEntry(), GeometricBoundaryField< Foam::vector, Foam::fvPatchField, Foam::volMesh >::readField(), PtrList< transferModel >::readIstream(), Matrix< RectangularMatrix< Type >, Type >::readMatrix(), exprValue::readTokens(), tmp< Foam::surfaceInterpolationScheme< GType > >::ref(), refPtr< Foam::mapDistributePolyMesh >::ref(), ocharstream::release(), icharstream::release(), Matrix< RectangularMatrix< Type >, Type >::release(), ocountstream::reset(), icharstream::reset(), pointFieldDecomposer::reset(), ospanstream::reset(), faMeshSubset::reset(), ispanstream::reset(), CStringList::reset(), fvMeshSubset::reset(), dynamicCode::reset(), refPtr< Foam::mapDistributePolyMesh >::reset(), tmp< Foam::surfaceInterpolationScheme< GType > >::reset(), fvFieldDecomposer::reset(), faFieldDecomposer::reset(), exprResult::resetImpl(), PtrListDetail< const Foam::UList >::resize(), PtrList< transferModel >::resize(), Matrix< RectangularMatrix< Type >, Type >::resize_nocopy(), PtrListDetail< const Foam::UList >::resize_null(), HashTable< const regIOobject * >::retain(), ocharstream::rewind(), icharstream::rewind(), ospanstream::rewind(), ispanstream::rewind(), seriesWriter::scan(), exprValue::set(), SHA1::SHA1(), SHA1Digest::SHA1Digest(), PtrDynList< Foam::profilingInformation >::shrink_unsafe(), DynamicList< Foam::vector >::shrink_unsafe(), DynamicField< Foam::vector >::shrink_unsafe(), ocharstream::swap(), icharstream::swap(), ILList< LListBase, T >::transfer(), LPtrList< LListBase, T >::transfer(), List< Field< scalar > >::transfer(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::transfer(), Matrix< RectangularMatrix< Type >, Type >::transfer(), UnsortedMeshedSurface< Face >::transfer(), HashTable< const regIOobject * >::transfer(), MeshedSurface< Foam::face >::transfer(), memInfo::update(), vtuSizing::vtuSizing(), JobInfo::write(), CStringList::~CStringList(), HashPtrTable< exprResult >::~HashPtrTable(), HashTable< const regIOobject * >::~HashTable(), ILList< LListBase, T >::~ILList(), LList< Foam::chemPointISAT< CompType, ThermoType > *>::~LList(), LPtrList< LListBase, T >::~LPtrList(), MeshedSurface< Foam::face >::~MeshedSurface(), refPtr< Foam::mapDistributePolyMesh >::~refPtr(), regExpPosix::~regExpPosix(), and tmp< Foam::surfaceInterpolationScheme< GType > >::~tmp().

◆ allFaceInfo()

◆ allCellInfo()

◆ isBlockedFace()

◆ td()

wallPoints::trackData td ( isBlockedFace  ,
regionToBlockSize   
)

Referenced by ReactingHeterogeneousParcel< ParcelType >::calc(), ReactingParcel< ParcelType >::calc(), ReactingMultiphaseParcel< ParcelType >::calc(), ThermoParcel< ParcelType >::calc(), SprayParcel< ParcelType >::calc(), KinematicParcel< ParcelType >::calc(), nearWallFields::calcAddressing(), SprayParcel< ParcelType >::calcAtomization(), SprayParcel< ParcelType >::calcBreakup(), VirtualMassForce< CloudType >::calcCoupled(), PressureGradientForce< CloudType >::calcCoupled(), LiftForce< CloudType >::calcCoupled(), ParticleForceList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::calcCoupled(), BrownianMotionForce< CloudType >::calcCoupled(), TomiyamaDragForce< CloudType >::calcCoupled(), ReactingMultiphaseParcel< ParcelType >::calcDevolatilisation(), KinematicParcel< ParcelType >::calcDispersion(), ThermoParcel< ParcelType >::calcHeatTransfer(), ReactingHeterogeneousParcel< ParcelType >::calcHeterogeneousReactions(), SRFForce< CloudType >::calcNonCoupled(), GravityForce< CloudType >::calcNonCoupled(), ParticleForceList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::calcNonCoupled(), ReactingParcel< ParcelType >::calcPhaseChange(), ReactingMultiphaseParcel< ParcelType >::calcSurfaceReactions(), ThermoParcel< ParcelType >::calcSurfaceValues(), waveMethod::calculate(), KinematicParcel< ParcelType >::calcVelocity(), ReactingParcel< ParcelType >::cellValueSourceCorrection(), ReactingMultiphaseParcel< ParcelType >::cellValueSourceCorrection(), ThermoParcel< ParcelType >::cellValueSourceCorrection(), SprayParcel< ParcelType >::cellValueSourceCorrection(), KinematicParcel< ParcelType >::cellValueSourceCorrection(), SprayParcel< ParcelType >::chi(), ORourkeCollision< CloudType >::collide(), TrajectoryCollision< CloudType >::collide(), adjointEikonalSolver::computeYPhi(), pointPatchDist::correct(), trackedParticle::correctAfterParallelTransfer(), ReactingParcel< ParcelType >::correctSurfaceValues(), adjointEikonalSolver::distanceSensitivities(), KinematicParcel< ParcelType >::Eo(), meshToMeshData::equal(), refinementDistanceData::equal(), MPPICCloud< Foam::DSMCCloud >::evolve(), CollidingCloud< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::evolve(), ReactingHeterogeneousCloud< Foam::DSMCCloud >::evolve(), SprayCloud< Foam::DSMCCloud >::evolve(), ReactingMultiphaseCloud< Foam::DSMCCloud >::evolve(), ReactingCloud< Foam::DSMCCloud >::evolve(), ThermoCloud< Foam::DSMCCloud >::evolve(), DSMCCloud< ParcelType >::evolve(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::evolve(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::evolveCloud(), adjointEikonalSolver::getFISensitivityTerm(), adjointEikonalSolver::gradEikonal(), particle< Type >::hitBoundaryFace(), findCellParticle::hitCyclicACMIPatch(), streamLineParticle::hitCyclicACMIPatch(), trackedParticle::hitCyclicACMIPatch(), particle< Type >::hitCyclicACMIPatch(), findCellParticle::hitCyclicAMIPatch(), streamLineParticle::hitCyclicAMIPatch(), trackedParticle::hitCyclicAMIPatch(), particle< Type >::hitCyclicAMIPatch(), findCellParticle::hitCyclicPatch(), streamLineParticle::hitCyclicPatch(), trackedParticle::hitCyclicPatch(), particle< Type >::hitFace(), KinematicParcel< ParcelType >::hitPatch(), solidParticle::hitProcessorPatch(), findCellParticle::hitProcessorPatch(), wallBoundedParticle::hitProcessorPatch(), streamLineParticle::hitProcessorPatch(), trackedParticle::hitProcessorPatch(), DSMCParcel< ParcelType >::hitProcessorPatch(), molecule::hitProcessorPatch(), KinematicParcel< ParcelType >::hitProcessorPatch(), findCellParticle::hitSymmetryPatch(), streamLineParticle::hitSymmetryPatch(), trackedParticle::hitSymmetryPatch(), findCellParticle::hitSymmetryPlanePatch(), streamLineParticle::hitSymmetryPlanePatch(), trackedParticle::hitSymmetryPlanePatch(), particle< Type >::hitSymmetryPlanePatch(), findCellParticle::hitWallPatch(), streamLineParticle::hitWallPatch(), trackedParticle::hitWallPatch(), findCellParticle::hitWedgePatch(), streamLineParticle::hitWedgePatch(), trackedParticle::hitWedgePatch(), particle< Type >::hitWedgePatch(), InjectionModelList< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::inject(), InjectionModel< CloudType >::inject(), InjectionModelList< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::injectSteadyState(), wallBoundedStreamLineParticle::interpolateFields(), wallPointAddressing::leaveDomain(), VirtualMassForce< CloudType >::massAdd(), KinematicParcel< ParcelType >::massCell(), ParticleForceList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::massEff(), MPPICCloud< Foam::DSMCCloud >::motion(), CollidingCloud< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::motion(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::motion(), solidParticleCloud::move(), findCellParticle::move(), streamLineParticle::move(), wallBoundedStreamLineParticle::move(), solidParticle::move(), trackedParticle::move(), Cloud< passivePositionParticle >::move(), DSMCParcel< ParcelType >::move(), molecule::move(), MPPICParcel< ParcelType >::move(), CollidingParcel< ParcelType >::move(), KinematicParcel< ParcelType >::move(), CollidingCloud< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::moveCollide(), wallBoundedParticle::patchInteraction(), ReactingWeberNumber< CloudType >::postEvolve(), VoidFraction< CloudType >::postEvolve(), CloudFunctionObjectList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::postEvolve(), HeatTransferCoeff< CloudType >::postEvolve(), NusseltNumber< CloudType >::postEvolve(), RemoveParcels< CloudType >::postEvolve(), KinematicReynoldsNumber< CloudType >::postEvolve(), ThermoReynoldsNumber< CloudType >::postEvolve(), KinematicWeberNumber< CloudType >::postEvolve(), ParticleZoneInfo< CloudType >::postEvolve(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::postEvolve(), CloudFunctionObjectList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::postFace(), CloudFunctionObjectList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::postMove(), CloudFunctionObjectList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::postPatch(), CloudFunctionObjectList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::preEvolve(), ThermoCloud< Foam::DSMCCloud >::preEvolve(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::preEvolve(), turbulentBreakUp::R(), KinematicParcel< ParcelType >::Re(), wallBoundedStreamLineParticle::sample(), ReactingParcel< ParcelType >::setCellValues(), ReactingMultiphaseParcel< ParcelType >::setCellValues(), SprayParcel< ParcelType >::setCellValues(), ThermoParcel< ParcelType >::setCellValues(), KinematicParcel< ParcelType >::setCellValues(), Foam::fvc::smooth(), adjointEikonalSolver::solve(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::solve(), SprayParcel< ParcelType >::solveTABEq(), Foam::fvc::spread(), adjointEikonalSolver::topologySensitivities(), streamLine::track(), wallBoundedStreamLine::track(), particle< Type >::trackToAndHitFace(), wallBoundedParticle::trackToEdge(), ReactingCloud< Foam::DSMCCloud >::transferToCarrier(), ReactingMultiphaseCloud< Foam::DSMCCloud >::transferToCarrier(), ThermoCloud< Foam::DSMCCloud >::transferToCarrier(), PointData< DataType >::transform(), wallPoints::update(), StochasticCollisionModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::update(), directionalWallPointData< Type >::updateCell(), transportData::updateCell(), wallPointData< bool >::updateCell(), wallPointAddressing::updateCell(), smoothDelta::deltaData::updateCell(), wallNormalInfo::updateCell(), meshToMeshData::updateCell(), cellInfo::updateCell(), refinementData::updateCell(), wallPoint::updateCell(), sweepData::updateCell(), smoothData::updateCell(), refinementDistanceData::updateCell(), wallPoints::updateCell(), patchFaceOrientation::updateEdge(), patchEdgeFaceRegions::updateEdge(), patchEdgeFaceRegion::updateEdge(), patchEdgeFaceInfo::updateEdge(), PointData< DataType >::updateEdge(), PointIntegrateData< DataType >::updateEdge(), pointEdgeCollapse::updateEdge(), externalPointEdgePoint::updateEdge(), pointEdgePoint::updateEdge(), pointEdgeStructuredWalk::updateEdge(), directionalWallPointData< Type >::updateFace(), transportData::updateFace(), patchFaceOrientation::updateFace(), wallPointData< bool >::updateFace(), patchEdgeFaceRegions::updateFace(), wallPointAddressing::updateFace(), patchEdgeFaceRegion::updateFace(), smoothDelta::deltaData::updateFace(), wallNormalInfo::updateFace(), patchEdgeFaceInfo::updateFace(), meshToMeshData::updateFace(), cellInfo::updateFace(), refinementData::updateFace(), wallPoint::updateFace(), sweepData::updateFace(), smoothData::updateFace(), refinementDistanceData::updateFace(), wallPoints::updateFace(), PointData< DataType >::updatePoint(), pointEdgeCollapse::updatePoint(), externalPointEdgePoint::updatePoint(), pointEdgeStructuredWalk::updatePoint(), pointEdgePoint::updatePoint(), and KinematicParcel< ParcelType >::We().

◆ wallDistCalc()

FaceCellWave<wallPoints, wallPoints::trackData> wallDistCalc ( mesh_  ,
changedFaces  ,
faceDist  ,
allFaceInfo  ,
allCellInfo  ,
,
td   
)

◆ iterate()

◆ if() [1/3]

if ( debug &meshRefinement::MESH  )

Definition at line 2494 of file meshRefinementBlock.C.

◆ smallGapDistance()

scalarField smallGapDistance ( mesh_.  nCells(),
0.  0 
)

◆ forAll() [2/3]

forAll ( allCellInfo  ,
celli   
)

Definition at line 2568 of file meshRefinementBlock.C.

◆ if() [2/3]

if ( debug  )

Definition at line 2639 of file meshRefinementBlock.C.

◆ forAll() [3/3]

forAll ( smallGapDistance  ,
celli   
)

Definition at line 2674 of file meshRefinementBlock.C.

◆ if() [3/3]

if ( returnReduce(nRefine, sumOp< label >())  ,
returnReduce(nAllowRefine, sumOp< label >())   
)

Definition at line 2701 of file meshRefinementBlock.C.

◆ returnReduce()

return returnReduce ( nRefine-  oldNRefine,
sumOp< label >  () 
)

Referenced by preserveFaceZones::add(), preservePatches::add(), geometric::add(), preserveFaceZones::apply(), preservePatches::apply(), waveMethod::calculate(), OppositeFaceCellWave< Type, TrackingData >::cellToFace(), FaceCellWave< Foam::wallPointData< bool > >::cellToFace(), primitiveMesh::checkEdgeLength(), primitiveMesh::checkFaceOrthogonality(), motionSmootherAlgo::checkMesh(), edgeCollapser::checkMeshQuality(), averageNeighbourFvGeometryScheme::clipFaceTet(), averageNeighbourFvGeometryScheme::clipPyramids(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::edgeToFace(), PointEdgeWave< Type, TrackingData >::edgeToPoint(), FaceInteraction< CloudType >::FaceInteraction(), FacePostProcessing< CloudType >::FacePostProcessing(), OppositeFaceCellWave< Type, TrackingData >::faceToCell(), FaceCellWave< Foam::wallPointData< bool > >::faceToCell(), PatchEdgeFaceWave< PrimitivePatchType, Type, TrackingData >::faceToEdge(), Foam::getRefCellValue(), if(), DevolatilisationModel< Foam::ReactingMultiphaseCloud< Foam::DSMCCloud > >::info(), SurfaceReactionModel< Foam::ReactingMultiphaseCloud< Foam::DSMCCloud > >::info(), HeterogeneousReactingModel< Foam::ReactingHeterogeneousCloud< CloudType > >::info(), PatchInteractionModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::info(), PhaseChangeModel< Foam::ReactingCloud< Foam::DSMCCloud > >::info(), SurfaceFilmModel< Foam::KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::info(), KinematicCloud< Cloud< basicKinematicCollidingParcel > >::info(), PointEdgeWave< Type, TrackingData >::iterate(), meshRefinement::mergeEdgesUndo(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), multiSolidBodyMotionSolver::multiSolidBodyMotionSolver(), oversetFvMeshBase::normalisation(), AMIInterpolation::normaliseWeights(), PairCollision< CloudType >::nSubCycles(), PointEdgeWave< Type, TrackingData >::PointEdgeWave(), PointEdgeWave< Type, TrackingData >::pointToEdge(), RemoveParcels< CloudType >::postEvolve(), ParticleZoneInfo< CloudType >::postEvolve(), faMeshTools::printMeshChecks(), surfaceFieldValue::processSameTypeValues(), volFieldValue::processValues(), regionSplit2D::regionSplit2D(), RemoveParcels< CloudType >::RemoveParcels(), structuredRenumber::renumber(), CellZoneInjection< CloudType >::updateMesh(), RemoveParcels< CloudType >::write(), FaceInteraction< CloudType >::write(), ParticleCollector< CloudType >::write(), ParticleZoneInfo< CloudType >::write(), and extendedCellToFaceStencil::writeStencilStats().

Variable Documentation

◆ nMulti

label nMulti = 0

Definition at line 2562 of file meshRefinementBlock.C.

◆ nSmallGap

label nSmallGap = 0

Definition at line 2563 of file meshRefinementBlock.C.

◆ oldNRefine

const label oldNRefine = nRefine

Definition at line 2673 of file meshRefinementBlock.C.