Loading...
Searching...
No Matches
convertProcessorPatches.H File Reference

Go to the source code of this file.

Functions

fileName vtmOutputBase (outputDir/regionDir/vtkName+timeDesc)
 forAll (patchIds, i)
patchWriters resize (patchIds.size())
List< wordList > procPatchNames (UPstream::nProcs())
labelList selectedPatchId (1)
 for (const label patchId :patchIds)
patchWriters resize (nPatchWriters)
 if (internalWriter)
 for (auto &writer :patchWriters)
patchWriters clear ()
 if (UPstream::master() &&nProcPatches)

Variables

const label nVolFields = objects.count(Foam::fieldTypes::is_volume)
const auto subDirNaming
autoPtr< vtk::internalWriter > internalWriter
PtrList< vtk::patchWriter > patchWriters
const polyBoundaryMesh & patches = mesh.boundaryMesh()
labelList patchIds
label nPatchWriters = 0
const label nProcPatches = returnReduce(nPatchWriters, sumOp<label>())

Detailed Description

Original source file convertProcessorPatches.H

Definition in file convertProcessorPatches.H.

Function Documentation

◆ vtmOutputBase()

fileName vtmOutputBase ( outputDir/regionDir/vtkName+ timeDesc)

References regionDir.

Referenced by for(), if(), if(), if(), and if().

Here is the caller graph for this function:

◆ forAll()

forAll ( patchIds ,
i  )

Definition at line 60 of file convertProcessorPatches.H.

References patches, and patchIds.

◆ resize() [1/2]

patchWriters resize ( patchIds. size())

References patchIds, and patchWriters.

Referenced by bitSet::andEq(), bitSet::assign(), Field< Type >::assign(), DynamicField< T, SizeMin >::emplace_back(), DynamicList< T, SizeMin >::emplace_back(), List< T >::emplace_back(), PtrDynList< T, SizeMin >::emplace_set(), Field< Type >::Field(), UPstream::commsStructList::get(), Field< Type >::map(), List< T >::newElmt(), PackedList< 1 >::reference::operator unsigned int(), DynamicField< T, SizeMin >::operator()(), DynamicList< T, SizeMin >::operator()(), PtrDynList< T, SizeMin >::operator=(), PtrDynList< T, SizeMin >::operator=(), PtrDynList< T, SizeMin >::operator=(), bitSet::orEq(), DynamicField< T, SizeMin >::pop_back(), DynamicList< T, SizeMin >::pop_back(), PtrDynList< T, SizeMin >::pop_back(), SubStrings::pop_back(), SubStrings::pop_front(), DynamicField< T, SizeMin >::push_back(), DynamicField< T, SizeMin >::push_back(), DynamicField< T, SizeMin >::push_back(), DynamicField< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_back(), List< T >::push_back(), List< T >::push_back(), PtrDynList< T, SizeMin >::push_back(), PtrDynList< T, SizeMin >::push_back(), PtrDynList< T, SizeMin >::push_back(), PtrList< T >::push_back(), GeometricBoundaryField< Type, PatchField, GeoMesh >::readField(), PtrList< T >::readIstream(), bitSet::reduceAnd(), PackedList< Width >::remove(), optionList::reset(), MRFZoneList::reset(), porosityModelList::reset(), DynamicField< T, SizeMin >::resize(), IjkField< Type >::resize(), List< block_type >::resize(), PtrList< T >::resize(), SquareMatrix< Type >::resize(), PackedList< Width >::resize_nocopy(), bitSet::set(), PtrDynList< T, SizeMin >::set(), Matrix< Form, Type >::setSize(), SquareMatrix< Type >::setSize(), SquareMatrix< Foam::pTraits< Type >::cmptType >::symmetric(), PtrDynList< T, SizeMin >::try_emplace(), bitSet::unset(), and bitSet::xorEq().

◆ procPatchNames()

List< wordList > procPatchNames ( UPstream::nProcs() )

References patchIds, and procPatchNames().

Referenced by for(), if(), procPatchNames(), and resize().

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

◆ selectedPatchId()

labelList selectedPatchId ( 1 )

Referenced by for(), and if().

Here is the caller graph for this function:

◆ for() [1/2]

for ( const label patchId :patchIds )

Definition at line 78 of file convertProcessorPatches.H.

References nPatchWriters, patches, patchId(), patchIds, patchWriters, pp(), procPatchNames(), selectedPatchId(), subDirNaming, vtmOutputBase(), and writer().

Here is the call graph for this function:

◆ resize() [2/2]

References nPatchWriters, nVolFields, patchWriters, procPatchNames(), and writer().

Here is the call graph for this function:

◆ if() [1/2]

Definition at line 149 of file convertProcessorPatches.H.

References internalWriter.

◆ for() [2/2]

for ( auto &writer :patchWriters )

Definition at line 154 of file convertProcessorPatches.H.

References patchWriters, and writer().

Here is the call graph for this function:

◆ clear()

patchWriters clear ( )

References patchWriters.

◆ if() [2/2]

if ( UPstream::master() && nProcPatches)

Definition at line 166 of file convertProcessorPatches.H.

References forAll, n, Foam::name(), nProcPatches, outputName(), procPatchNames(), subDirNaming, vtmBoundaries, and vtmOutputBase().

Here is the call graph for this function:

Variable Documentation

◆ nVolFields

const label nVolFields = objects.count(Foam::fieldTypes::is_volume)

Definition at line 28 of file convertProcessorPatches.H.

Referenced by if(), if(), and resize().

◆ subDirNaming

const auto subDirNaming
Initial value:
=
[](const label i) -> fileName
{ return "processor" / ("processor" + Foam::name(i)); }
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
Definition exprTraits.C:127

Definition at line 40 of file convertProcessorPatches.H.

Referenced by for(), and if().

◆ internalWriter

◆ patchWriters

◆ patches

const polyBoundaryMesh& patches = mesh.boundaryMesh()

Definition at line 51 of file convertProcessorPatches.H.

Referenced by isoSurfacePoint::adaptPatchFields(), fvMeshAdder::add(), PDRarrays::addBlockage(), columnFvMeshInfo::addLocalPatches(), polyTopoChange::addMesh(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), zoneCellStencils::allCoupledFacesPatch(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), meshRefinement::blockLeakFaces(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), polyDualMesh::calcFeatures(), solarLoad::calculate(), PDRarrays::calculateAndWrite(), PDRarrays::calculateAndWrite(), processorColour::cellColour(), faBoundaryMesh::cfindPatch(), fvBoundaryMesh::cfindPatch(), pointBoundaryMesh::cfindPatch(), polyBoundaryMesh::cfindPatch(), repatchPolyTopoChanger::changePatches(), repatchPolyTopoChanger::changePatches(), polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), hexRef8::checkMesh(), polyMeshGeometry::checkVolRatio(), polyBoundaryMesh::clearAddressing(), polyBoundaryMesh::clearGeom(), processorColour::colour(), adjointEikonalSolver::computeYPhi(), hexRef8::consistentSlowRefinement2(), advectionDiffusion::correct(), directionalMeshWave::correct(), LRR< BasicTurbulenceModel >::correct(), SSG< BasicTurbulenceModel >::correct(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), ReynoldsStress< BasicTurbulenceModel >::correctWallShearStress(), decompositionMethod::decompose(), distributedTriSurfaceMesh::distribute(), fvMeshDistribute::distribute(), snappyRefineDriver::doRefine(), faBoundaryMesh::edgeFaces(), faBoundaryMesh::edgeLabels(), yPlus::execute(), extendedCellToCellStencil::extendedCellToCellStencil(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), faBoundaryMesh::faBoundaryMesh(), faBoundaryMeshMapper::faBoundaryMeshMapper(), fvBoundaryMesh::faceCells(), polyBoundaryMesh::faceCells(), faMeshMapper::faMeshMapper(), localPointRegion::findDuplicateFacePairs(), polyMeshTetDecomposition::findFaceBasePts(), for(), forAll(), forAll(), FreeStream< CloudType >::FreeStream(), fvBoundaryMeshMapper::fvBoundaryMeshMapper(), zoneDistribute::getCyclicPatches(), removeCells::getExposedFaces(), combineFaces::getMergeSets(), externalDisplacementMeshMover::getPatch(), surfaceFormatsCore::getSelectedPatches(), globalIndexAndTransform::globalIndexAndTransform(), hexCellFvMesh::hexCellFvMesh(), if(), if(), viewFactor::initialise(), PDRblock::innerMesh(), faBoundaryMesh::interfaces(), fvBoundaryMesh::interfaces(), isoSurfacePoint::isoSurfacePoint(), triSurfaceLoader::load(), localPointRegion::localPointRegion(), patchMeanVelocityForce::magUbarAve(), meshRefinement::makePatch(), volSurfaceMapping::mapInternalToSurface(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), meshRefinement::meshedPatches(), fvBoundaryMesh::movePoints(), processorTopology::New(), faBoundaryMesh::nNonProcessor(), pointBoundaryMesh::nNonProcessor(), polyBoundaryMesh::nNonProcessor(), faBoundaryMesh::nNonProcessorEdges(), polyBoundaryMesh::nNonProcessorFaces(), meshSearch::nonCoupledBoundaryTree(), zoneCellStencils::nonEmptyFacesPatch(), faBoundaryMesh::nProcessorPatches(), pointBoundaryMesh::nProcessorPatches(), polyBoundaryMesh::nProcessorPatches(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), polyBoundaryMesh::patchID(), faBoundaryMesh::patchRanges(), polyBoundaryMesh::patchSet(), faBoundaryMesh::patchStarts(), pointBoundaryMeshMapper::pointBoundaryMeshMapper(), polyBoundaryMesh::polyBoundaryMesh(), preservePatches::preservePatches(), contactHeatFluxSource::read(), externalFileSource::read(), triSurfaceMesh::regions(), pointBoundaryMesh::reorder(), polyBoundaryMesh::reorder(), snappySnapDriver::repatchToSurface(), motionSmootherAlgo::scaleMesh(), faBoundaryMesh::setGroup(), polyBoundaryMesh::setGroup(), lumpedPointDisplacementPointPatchVectorField::setPatchControls(), addPatchCellLayer::setRefinement(), combineFaces::setRefinement(), duplicatePoints::setRefinement(), meshCutAndRemove::setRefinement(), perfectInterface::setRefinement(), perfectInterface::setRefinement(), removeCells::setRefinement(), removeFaces::setRefinement(), triSurface::sortedZones(), oversetFvPatchField< Type >::storeFringeCoefficients(), syncTools::swapBoundaryCellList(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), meshRefinement::testSyncBoundaryFaceList(), preservePatches::TypeName(), liquidFilmBase::Up(), oversetFvMeshBase::updateAddressing(), motionSmootherAlgo::updateMesh(), liquidFilmBase::Uw(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), zoneCellStencils::validBoundaryFaces(), wallLayerCells::wallLayerCells(), streamLineBase::wallPatch(), polyBoundaryMesh::whichPatchFace(), wallShearStress::write(), yPlus::write(), pointBoundaryMesh::writeData(), writer::writeSolution(), lumpedPointMovement::writeVTP(), lumpedPointMovement::writeZonesVTP(), wallLubricationModel::zeroGradWalls(), meshRefinement::zonify(), and repatchPolyTopoChanger::~repatchPolyTopoChanger().

◆ patchIds

◆ nPatchWriters

label nPatchWriters = 0

Definition at line 71 of file convertProcessorPatches.H.

Referenced by for(), if(), and resize().

◆ nProcPatches

const label nProcPatches = returnReduce(nPatchWriters, sumOp<label>())

Definition at line 164 of file convertProcessorPatches.H.

Referenced by if().