Code chunk for converting volume fields on processor boundaries, included by foamToVTK. More...
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 (Pstream::nProcs()) |
for (const label patchId :patchIds) | |
patchWriters | resize (nPatchWriters) |
if (internalWriter) | |
for (vtk::patchWriter &writer :patchWriters) | |
patchWriters | clear () |
if (Pstream::master() &&nProcPatches) | |
Variables | |
const label | nVolFields |
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>()) |
Code chunk for converting volume fields on processor boundaries, included by foamToVTK.
Original source file convertProcessorPatches.H
Definition in file convertProcessorPatches.H.
fileName vtmOutputBase | ( | outputDir/regionDir/vtkName+ | timeDesc | ) |
forAll | ( | patchIds | , |
i | |||
) |
Definition at line 74 of file convertProcessorPatches.H.
patchWriters resize | ( | patchIds. | size() | ) |
Referenced by bitSet::andEq(), DynamicList< T, SizeMin >::append(), List< T >::append(), DynamicField< T, SizeMin >::append(), PtrDynList< T, SizeMin >::append(), bitSet::assign(), HashSet< Key, Hash >::assignMany(), HashTable< T, Key, Hash >::clearStorage(), topoSet::invert(), List< T >::newElmt(), DynamicList< T, SizeMin >::operator()(), DynamicField< T, SizeMin >::operator()(), PtrList< T >::operator=(), PtrDynList< Foam::Field< label > >::operator=(), HashTable< T, Key, Hash >::operator=(), bitSet::orEq(), GeometricBoundaryField< Type, PatchField, GeoMesh >::readField(), PtrList< T >::readIstream(), optionList::reset(), MRFZoneList::reset(), porosityModelList::reset(), DynamicList< T, SizeMin >::resize(), DynamicField< T, SizeMin >::resize(), SquareMatrix< Type >::resize(), List< T >::resize(), IjkField< Type >::resize(), PtrDynList< Foam::Field< label > >::set(), PtrDynList< T, SizeMin >::set(), bitSet::set(), SquareMatrix< Type >::setSize(), Matrix< Form, Type >::setSize(), CompactListList< T >::setSize(), HashTable< T * >::sorted(), bitSet::unset(), and bitSet::xorEq().
List< wordList > procPatchNames | ( | Pstream::nProcs() | ) |
Definition at line 91 of file convertProcessorPatches.H.
References nPatchWriters, patches, patchId(), patchWriters, procPatchNames(), subDirNaming, vtmOutputBase(), and writer().
patchWriters resize | ( | nPatchWriters | ) |
if | ( | internalWriter | ) |
Definition at line 156 of file convertProcessorPatches.H.
References internalWriter.
for | ( | vtk::patchWriter &writer :patchWriters | ) |
Definition at line 161 of file convertProcessorPatches.H.
References writer().
patchInterps clear | ( | ) |
Referenced by exprDriver::addVariables(), faPatchData::assign(), bitSet::assign(), faPatchData::assign_coupled(), HashSet< Key, Hash >::assignMany(), HashPtrTable< IOobject >::clear(), HashTable< T, Key, Hash >::clearStorage(), ensightMesh::correct(), ensightFaMesh::correct(), refPtr< T >::cref(), tmp< T >::cref(), ILList< ParticleType >::eraseHead(), fieldExpression::execute(), fieldsExpression::execute(), ensightMesh::expire(), exprResult::getResult(), topoSet::invert(), seriesWriter::load(), mergedSurf::merge(), refPtr< Field< InputType > >::operator tmp< Field< InputType > >(), CircularBuffer< T >::operator=(), dictionary::operator=(), exprResult::operator=(), ILList< LListBase, T >::operator=(), LList< LListBase, T >::operator=(), LPtrList< LListBase, T >::operator=(), Matrix< Form, Type >::operator=(), MeshedSurface< Face >::operator=(), refPtr< T >::operator=(), tmp< T >::operator=(), UnsortedMeshedSurface< Face >::operator=(), keyType::operator=(), DynamicList< T, SizeMin >::operator=(), regExpCxx::operator=(), regExpPosix::operator=(), SortableList< T >::operator=(), HashTable< T, Key, Hash >::operator=(), wordRe::operator=(), schemesLookup::read(), extendedEdgeMeshFormat::read(), extendedFeatureEdgeMeshFormat::read(), NASedgeFormat::read(), ABAQUSsurfaceFormat< Face >::read(), AC3DsurfaceFormat< Face >::read(), GTSsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), OBJsurfaceFormat< Face >::read(), OFFsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), STLsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), VTKsurfaceFormat< Face >::read(), edgeMeshFormat::read(), OBJedgeFormat::read(), STARCDedgeFormat::read(), MeshedSurface< Face >::read(), UnsortedMeshedSurface< Face >::read(), ABAQUSCore::readHelper::read(), boundaryRegion::readDict(), cellTable::readDict(), exprString::readEntry(), GeometricBoundaryField< Type, PatchField, GeoMesh >::readField(), PtrList< T >::readIstream(), Matrix< Form, Type >::readMatrix(), fvBoundaryMesh::readUpdate(), tmp< Foam::surfaceInterpolationScheme< Type > >::ref(), refPtr< T >::ref(), tmp< T >::ref(), Matrix< Form, Type >::release(), faMeshSubset::reset(), fvMeshSubset::reset(), dynamicCode::reset(), faFieldDecomposer::reset(), fvFieldDecomposer::reset(), pointFieldDecomposer::reset(), refPtr< T >::reset(), tmp< T >::reset(), exprResult::resetImpl(), CompactListList< T >::resize(), ocountstream::rewind(), scalarRange::scalarRange(), seriesWriter::scan(), SHA1::SHA1(), SHA1Digest::SHA1Digest(), HashTable< T, Key, Hash >::transfer(), List< T >::transfer(), LList< LListBase, T >::transfer(), LPtrList< LListBase, T >::transfer(), Matrix< Form, Type >::transfer(), MeshedSurface< Face >::transfer(), UnsortedMeshedSurface< Face >::transfer(), memInfo::update(), vtuSizing::vtuSizing(), JobInfo::write(), CStringList::~CStringList(), HashPtrTable< T, Key, Hash >::~HashPtrTable(), HashTable< T, Key, Hash >::~HashTable(), ILList< LListBase, T >::~ILList(), LList< LListBase, T >::~LList(), LPtrList< LListBase, T >::~LPtrList(), MeshedSurface< Face >::~MeshedSurface(), MeshedSurfaceIOAllocator::~MeshedSurfaceIOAllocator(), refPtr< T >::~refPtr(), and regExpPosix::~regExpPosix().
if | ( | Pstream::master() && | nProcPatches | ) |
Definition at line 173 of file convertProcessorPatches.H.
References forAll, n, Foam::name(), nProcPatches, outputName(), procPatchNames(), subDirNaming, vtmBoundaries, and vtmOutputBase().
const label nVolFields |
Definition at line 39 of file convertProcessorPatches.H.
Referenced by vtkWrite::write().
const auto subDirNaming |
Definition at line 54 of file convertProcessorPatches.H.
autoPtr<vtk::internalWriter> internalWriter |
Definition at line 60 of file convertProcessorPatches.H.
Referenced by if(), vtkWrite::write(), Foam::writeDimField(), Foam::writeDimFields(), Foam::writePointField(), Foam::writePointFields(), Foam::writeVolField(), vtkWrite::writeVolFields(), and Foam::writeVolFields().
PtrList<vtk::patchWriter> patchWriters |
Definition at line 63 of file convertProcessorPatches.H.
Referenced by for(), vtkWrite::write(), Foam::writePointField(), Foam::writePointFields(), Foam::writeVolField(), vtkWrite::writeVolFields(), and Foam::writeVolFields().
const polyBoundaryMesh& patches = mesh.boundaryMesh() |
Definition at line 65 of file convertProcessorPatches.H.
Referenced by isoSurfacePoint::adaptPatchFields(), fvMeshAdder::add(), columnFvMeshInfo::addLocalPatches(), polyTopoChange::addMesh(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), patchMeshWriter::beginPiece(), meshRefinement::blockLeakFaces(), decompositionMethod::calcCellCells(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), polyDualMesh::calcFeatures(), solarLoad::calculate(), repatchPolyTopoChanger::changePatches(), polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceSkewness(), polyMeshGeometry::checkFaceTets(), polyMeshTetDecomposition::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), hexRef8::checkMesh(), polyMeshGeometry::checkVolRatio(), polyBoundaryMesh::clearAddressing(), polyBoundaryMesh::clearGeom(), adjointEikonalSolver::computeYPhi(), LRR< BasicTurbulenceModel >::correct(), SSG< BasicTurbulenceModel >::correct(), directionalMeshWave::correct(), advectionDiffusion::correct(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), ReynoldsStress< BasicTurbulenceModel >::correctWallShearStress(), decompositionMethod::decompose(), faMeshDecomposition::decomposeMesh(), fvMeshDistribute::distribute(), distributedTriSurfaceMesh::distribute(), snappyRefineDriver::doRefine(), faBoundaryMesh::edgeFaces(), faBoundaryMesh::edgeLabels(), wallHeatFlux::execute(), yPlus::execute(), extendedCellToCellStencil::extendedCellToCellStencil(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), faBoundaryMeshMapper::faBoundaryMeshMapper(), fvBoundaryMesh::faceCells(), polyBoundaryMesh::faceCells(), faMeshMapper::faMeshMapper(), localPointRegion::findDuplicateFacePairs(), polyMeshTetDecomposition::findFaceBasePts(), fvBoundaryMesh::findPatchID(), polyBoundaryMesh::findPatchIDs(), for(), forAll(), FreeStream< CloudType >::FreeStream(), fvBoundaryMeshMapper::fvBoundaryMeshMapper(), removeCells::getExposedFaces(), GenericPatchGeoFieldsWriter< PatchType >::getFaceField(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), combineFaces::getMergeSets(), externalDisplacementMeshMover::getPatch(), surfaceFormatsCore::getSelectedPatches(), globalIndexAndTransform::globalIndexAndTransform(), if(), PDRblock::innerMesh(), faBoundaryMesh::interfaces(), fvBoundaryMesh::interfaces(), isoSurfacePoint::isoSurfacePoint(), triSurfaceLoader::load(), fvMeshTools::loadOrCreateMesh(), faMeshTools::loadOrCreateMesh(), localPointRegion::localPointRegion(), patchMeanVelocityForce::magUbarAve(), meshRefinement::makePatch(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), meshRefinement::meshedPatches(), fvBoundaryMesh::movePoints(), processorTopology::New(), age::newField(), faMeshTools::newMesh(), faBoundaryMesh::nNonProcessor(), polyBoundaryMesh::nNonProcessor(), meshSearch::nonCoupledBoundaryTree(), JohnsonJacksonSchaeffer::nu(), Schaeffer::nu(), polyBoundaryMesh::patchID(), faBoundaryMesh::patchRanges(), faBoundaryMesh::patchStarts(), pointBoundaryMeshMapper::pointBoundaryMeshMapper(), polyBoundaryMesh::polyBoundaryMesh(), fvMeshDistribute::printMeshInfo(), triSurfaceMesh::regions(), polyBoundaryMesh::reorder(), snappySnapDriver::repatchToSurface(), patchProbes::sample(), motionSmootherAlgo::scaleMesh(), faBoundaryMesh::setGroup(), polyBoundaryMesh::setGroup(), lumpedPointDisplacementPointPatchVectorField::setPatchControls(), removeCells::setRefinement(), addPatchCellLayer::setRefinement(), perfectInterface::setRefinement(), meshCutAndRemove::setRefinement(), removeFaces::setRefinement(), combineFaces::setRefinement(), duplicatePoints::setRefinement(), shapeOptimisation::shapeOptimisation(), triSurface::sortedZones(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), meshRefinement::testSyncBoundaryFaceList(), triSurface::transfer(), dynamicOversetFvMesh::updateAddressing(), motionSmootherAlgo::updateMesh(), cellToCellStencil::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), wallLayerCells::wallLayerCells(), streamLineBase::wallPatch(), polyBoundaryMesh::whichPatch(), wallShearStress::write(), yPlus::write(), vtkWrite::write(), faBoundaryMesh::writeData(), polyBoundaryMesh::writeData(), patchMeshWriter::writeNeighIDs(), patchMeshWriter::writePatchIDs(), patchMeshWriter::writePoints(), patchMeshWriter::writePolys(), patchMeshWriter::writePolysLegacy(), writer::writeSolution(), lumpedPointMovement::writeVTP(), lumpedPointMovement::writeZonesVTP(), wallLubricationModel::zeroGradWalls(), and meshRefinement::zonify().
labelList patchIds |
Definition at line 67 of file convertProcessorPatches.H.
Referenced by ensightMesh::correct(), forAll(), GeometricBoundaryField< symmTensor, fvPatchField, volMesh >::GeometricBoundaryField(), vtkWrite::write(), lumpedPointMovement::writeVTP(), and lumpedPointMovement::writeZonesVTP().
label nPatchWriters = 0 |
Definition at line 85 of file convertProcessorPatches.H.
Referenced by for(), if(), and vtkWrite::write().
const label nProcPatches = returnReduce(nPatchWriters, sumOp<label>()) |
Definition at line 171 of file convertProcessorPatches.H.
Referenced by faMeshDecomposition::decomposeMesh(), if(), and faMeshDecomposition::writeDecomposition().