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 68 of file convertProcessorPatches.H.
References patches, and patchIds.
Referenced by if().
patchWriters resize | ( | patchIds. | size() | ) |
Referenced by PtrDynList< Foam::profilingInformation >::append(), List< vectorField >::append(), DynamicList< Foam::FixedList< scalar, 3 > >::append(), DynamicField< Foam::Vector >::append(), bitSet::assign(), HashSet< word, Hash< word > >::assignMany(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::clearStorage(), CloudFunctionObjectList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::CloudFunctionObjectList(), Field< Foam::Vector2D >::Field(), IjkField< Foam::Vector< bool > >::IjkField(), InjectionModelList< Foam::KinematicCloud< Foam::DSMCCloud > >::InjectionModelList(), topoSet::invert(), List< vectorField >::newElmt(), DynamicField< Foam::Vector >::operator()(), DynamicList< Foam::FixedList< scalar, 3 > >::operator()(), PtrList< transferModel >::operator=(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::operator=(), bitSet::orEq(), ParticleForceList< KinematicCloud< Cloud< basicKinematicCollidingParcel > > >::ParticleForceList(), PtrListDictionary< phaseModel >::PtrListDictionary(), PtrList< transferModel >::readIstream(), PtrDynList< Foam::profilingInformation >::reserve(), MRFZoneList::reset(), porosityModelList::reset(), optionList::reset(), PtrDynList< Foam::profilingInformation >::resize(), IjkField< Foam::Vector< bool > >::resize(), List< vectorField >::resize(), PtrList< transferModel >::resize(), SquareMatrix< cmptType >::resize(), DynamicList< Foam::FixedList< scalar, 3 > >::resize(), DynamicField< Foam::Vector >::resize(), PtrDynList< Foam::profilingInformation >::set(), bitSet::set(), SquareMatrix< cmptType >::setSize(), Matrix< RectangularMatrix< Type >, Type >::setSize(), PtrDynList< Foam::profilingInformation >::shrink(), DynamicList< Foam::FixedList< scalar, 3 > >::shrinkStorage(), DynamicField< Foam::Vector >::shrinkStorage(), PtrDynList< Foam::profilingInformation >::squeezeNull(), bitSet::unset(), cellZoneSet::updateSet(), pointZoneSet::updateSet(), faceZoneSet::updateSet(), and bitSet::xorEq().
List<wordList> procPatchNames | ( | Pstream::nProcs() | ) |
Definition at line 85 of file convertProcessorPatches.H.
References Foam::New(), nPatchWriters, patches, patchId(), patchWriters, procPatchNames(), subDirNaming, vtmOutputBase(), and writer().
patchWriters resize | ( | nPatchWriters | ) |
if | ( | internalWriter | ) |
Definition at line 150 of file convertProcessorPatches.H.
References internalWriter.
for | ( | vtk::patchWriter &writer :patchWriters | ) |
Definition at line 155 of file convertProcessorPatches.H.
References writer().
patchInterps clear | ( | ) |
Referenced by exprDriver::addVariables(), faPatchData::assign(), bitSet::assign(), faPatchData::assign_coupled(), HashSet< word, Hash< word > >::assignMany(), IjkField< Foam::Vector< bool > >::clear(), ILList::clear(), PtrList< transferModel >::clear(), DictionaryBase< IDLList< simpleObjectRegistryEntry >, simpleObjectRegistryEntry >::clear(), HashPtrTable< exprResult >::clear(), LPtrList::clear(), vtuCells::clear(), keyType::clear(), wordRe::clear(), ZoneMesh< cellZone, polyMesh >::clear(), LList< Foam::chemPointISAT< CompType, ThermoType > * >::clear(), UnsortedMeshedSurface< Face >::clear(), dictionary::clear(), PtrDynList< Foam::profilingInformation >::clearStorage(), DynamicList< Foam::FixedList< scalar, 3 > >::clearStorage(), DynamicField< Foam::Vector >::clearStorage(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::clearStorage(), ensightFaMesh::correct(), ensightMesh::correct(), DSMCCloud< ParcelType >::DSMCCloud(), fieldsExpression::execute(), fieldExpression::execute(), sampledFaceZone::expire(), ensightMesh::expire(), sampledPatch::expire(), exprResult::getResult(), topoSet::invert(), seriesWriter::load(), mergedSurf::merge(), moleculeCloud::moleculeCloud(), ILList::operator=(), SortableList::operator=(), UILList::operator=(), LPtrList::operator=(), keyType::operator=(), regExpPosix::operator=(), wordRe::operator=(), regExpCxx::operator=(), tmp< Foam::surfaceInterpolationScheme< GType > >::operator=(), refPtr< Foam::OSstream >::operator=(), LList< Foam::chemPointISAT< CompType, ThermoType > * >::operator=(), DynamicList< Foam::FixedList< scalar, 3 > >::operator=(), Matrix< RectangularMatrix< Type >, Type >::operator=(), UnsortedMeshedSurface< Face >::operator=(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::operator=(), exprResult::operator=(), MeshedSurface< Foam::face >::operator=(), dictionary::operator=(), cuttingSurface::performCut(), cuttingPlane::performCut(), extendedEdgeMeshFormat::read(), extendedFeatureEdgeMeshFormat::read(), OBJsurfaceFormat< Face >::read(), NASedgeFormat::read(), OFFsurfaceFormat< Face >::read(), ABAQUSsurfaceFormat< Face >::read(), AC3DsurfaceFormat< Face >::read(), GTSsurfaceFormat< Face >::read(), STARCDsurfaceFormat< Face >::read(), NASsurfaceFormat< Face >::read(), TRIsurfaceFormat< Face >::read(), STARCDedgeFormat::read(), VTKsurfaceFormat< Face >::read(), edgeMeshFormat::read(), STLsurfaceFormat< Face >::read(), schemesLookup::read(), ABAQUSCore::readHelper::read(), UnsortedMeshedSurface< Face >::read(), MeshedSurface< Foam::face >::read(), boundaryRegion::readDict(), cellTable::readDict(), exprString::readEntry(), GeometricField::Boundary::readField(), PtrList< transferModel >::readIstream(), Matrix< RectangularMatrix< Type >, Type >::readMatrix(), fvBoundaryMesh::readUpdate(), Matrix< RectangularMatrix< Type >, Type >::release(), pointFieldDecomposer::reset(), dynamicCode::reset(), fvFieldDecomposer::reset(), faFieldDecomposer::reset(), exprResult::resetImpl(), PtrList< transferModel >::resize(), Matrix< RectangularMatrix< Type >, Type >::resize_nocopy(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::retain(), uiliststream::rewind(), ocountstream::rewind(), scalarRange::scalarRange(), seriesWriter::scan(), fvMeshSubset::setCellSubset(), CompactListList::setSize(), SHA1Digest::SHA1Digest(), ILList::transfer(), LPtrList::transfer(), CompactListList::transfer(), LList< Foam::chemPointISAT< CompType, ThermoType > * >::transfer(), Matrix< RectangularMatrix< Type >, Type >::transfer(), UnsortedMeshedSurface< Face >::transfer(), List< vectorField >::transfer(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::transfer(), MeshedSurface< Foam::face >::transfer(), memInfo::update(), vtuSizing::vtuSizing(), JobInfo::write(), CStringList::~CStringList(), HashPtrTable< exprResult >::~HashPtrTable(), HashTable< Foam::autoPtr< Foam::interfaceCompositionModel > >::~HashTable(), ILList::~ILList(), LList< Foam::chemPointISAT< CompType, ThermoType > * >::~LList(), LPtrList::~LPtrList(), MeshedSurface< Foam::face >::~MeshedSurface(), refPtr< Foam::OSstream >::~refPtr(), regExpPosix::~regExpPosix(), and tmp< Foam::surfaceInterpolationScheme< GType > >::~tmp().
if | ( | Pstream::master() && | nProcPatches | ) |
Definition at line 167 of file convertProcessorPatches.H.
References forAll(), Foam::Info, n, Foam::name(), Foam::nl, nProcPatches, outputName(), procPatchNames(), subDirNaming, vtmBoundaries, vtmOutputBase(), and vtmWriter.
const label nVolFields |
Definition at line 33 of file convertProcessorPatches.H.
Referenced by vtkWrite::write().
const auto subDirNaming |
Definition at line 48 of file convertProcessorPatches.H.
autoPtr<vtk::internalWriter> internalWriter |
Definition at line 54 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 57 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 59 of file convertProcessorPatches.H.
Referenced by isoSurfacePoint::adaptPatchFields(), fvMeshAdder::add(), columnFvMeshInfo::addLocalPatches(), polyTopoChange::addMesh(), zoneCellStencils::allCoupledFacesPatch(), cellToCellStencil::allCoupledFacesPatch(), cellToFaceStencil::allCoupledFacesPatch(), lumpedPointMovement::areas(), assemblyFaceAreaPairGAMGAgglomeration::assemblyFaceAreaPairGAMGAgglomeration(), patchMeshWriter::beginPiece(), decompositionMethod::calcCellCells(), addPatchCellLayer::calcExtrudeInfo(), cellToFaceStencil::calcFaceStencil(), polyDualMesh::calcFeatures(), solarLoad::calculate(), repatchPolyTopoChanger::changePatches(), polyMeshGeometry::checkFaceDotProduct(), polyMeshGeometry::checkFaceSkewness(), polyMeshTetDecomposition::checkFaceTets(), polyMeshGeometry::checkFaceTets(), polyMeshGeometry::checkFaceTwist(), polyMeshGeometry::checkFaceWeights(), hexRef8::checkMesh(), polyMeshGeometry::checkVolRatio(), polyBoundaryMesh::clearAddressing(), polyBoundaryMesh::clearGeom(), adjointEikonalSolver::computeYPhi(), directionalMeshWave::correct(), SSG< BasicTurbulenceModel >::correct(), LRR< BasicTurbulenceModel >::correct(), advectionDiffusion::correct(), ThermalPhaseChangePhaseSystem< BasePhaseSystem >::correctInterfaceThermo(), ReynoldsStress< RASModel< BasicTurbulenceModel > >::correctWallShearStress(), decompositionMethod::decompose(), faMeshDecomposition::decomposeMesh(), fvMeshDistribute::distribute(), distributedTriSurfaceMesh::distribute(), snappyRefineDriver::doRefine(), faBoundaryMesh::edgeFaces(), yPlus::execute(), wallHeatFlux::execute(), extendedCellToCellStencil::extendedCellToCellStencil(), extendedCellToFaceStencil::extendedCellToFaceStencil(), extendedFaceToCellStencil::extendedFaceToCellStencil(), faBoundaryMesh::faBoundaryMesh(), faBoundaryMeshMapper::faBoundaryMeshMapper(), fvBoundaryMesh::faceCells(), polyBoundaryMesh::faceCells(), faMeshMapper::faMeshMapper(), localPointRegion::findDuplicateFacePairs(), polyMeshTetDecomposition::findFaceBasePts(), fvBoundaryMesh::findPatchID(), polyBoundaryMesh::findPatchIDs(), for(), forAll(), lumpedPointMovement::forcesAndMoments(), FreeStream< CloudType >::FreeStream(), fvBoundaryMeshMapper::fvBoundaryMeshMapper(), removeCells::getExposedFaces(), GenericPatchGeoFieldsWriter< PatchType >::getFaceField(), syncTools::getInternalOrCoupledFaces(), syncTools::getInternalOrMasterFaces(), syncTools::getMasterFaces(), combineFaces::getMergeSets(), externalDisplacementMeshMover::getPatch(), surfaceFormatsCore::getSelectedPatches(), globalIndexAndTransform::globalIndexAndTransform(), PDRblock::innerMesh(), fvBoundaryMesh::interfaces(), faBoundaryMesh::interfaces(), isoSurfacePoint::isoSurfacePoint(), triSurfaceLoader::load(), localPointRegion::localPointRegion(), meshRefinement::makePatch(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), meshRefinement::meshedPatches(), fvBoundaryMesh::movePoints(), faBoundaryMesh::movePoints(), fvMesh::movePoints(), age::newField(), faBoundaryMesh::nNonProcessor(), polyBoundaryMesh::nNonProcessor(), ProcessorTopology< Container, ProcPatch >::nonBlockingSchedule(), meshSearch::nonCoupledBoundaryTree(), zoneCellStencils::nonEmptyFacesPatch(), Schaeffer::nu(), JohnsonJacksonSchaeffer::nu(), polyBoundaryMesh::patchID(), faBoundaryMesh::patchRanges(), faBoundaryMesh::patchStarts(), pointBoundaryMeshMapper::pointBoundaryMeshMapper(), polyBoundaryMesh::polyBoundaryMesh(), fvMeshDistribute::printMeshInfo(), ProcessorTopology< Container, ProcPatch >::ProcessorTopology(), triSurfaceMesh::regions(), polyBoundaryMesh::reorder(), snappySnapDriver::repatchToSurface(), patchProbes::sample(), motionSmootherAlgo::scaleMesh(), polyBoundaryMesh::setGroup(), lumpedPointDisplacementPointPatchVectorField::setPatchControls(), duplicatePoints::setRefinement(), removeCells::setRefinement(), perfectInterface::setRefinement(), combineFaces::setRefinement(), removeFaces::setRefinement(), meshCutAndRemove::setRefinement(), addPatchCellLayer::setRefinement(), shapeOptimisation::shapeOptimisation(), triSurface::sortedZones(), syncTools::swapBoundaryCellList(), syncTools::swapBoundaryCellPositions(), syncTools::syncBoundaryFaceList(), syncTools::syncEdgeMap(), syncTools::syncFaceList(), syncTools::syncPointMap(), meshRefinement::testSyncBoundaryFaceList(), triSurface::transfer(), dynamicOversetFvMesh::updateAddressing(), faBoundaryMesh::updateMesh(), motionSmootherAlgo::updateMesh(), zoneCellStencils::validBoundaryFaces(), cellToFaceStencil::validBoundaryFaces(), cellToCellStencil::validBoundaryFaces(), wallLayerCells::wallLayerCells(), streamLineBase::wallPatch(), polyBoundaryMesh::whichPatch(), yPlus::write(), wallShearStress::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 61 of file convertProcessorPatches.H.
Referenced by ensightMesh::correct(), forAll(), Foam::lumpedPointTools::lumpedPointPatchList(), GeometricField::Boundary::readField(), vtkWrite::write(), lumpedPointMovement::writeVTP(), and lumpedPointMovement::writeZonesVTP().
label nPatchWriters = 0 |
Definition at line 79 of file convertProcessorPatches.H.
Referenced by for(), if(), and vtkWrite::write().
const label nProcPatches = returnReduce(nPatchWriters, sumOp<label>()) |
Definition at line 165 of file convertProcessorPatches.H.
Referenced by faMeshDecomposition::decomposeMesh(), if(), and faMeshDecomposition::writeDecomposition().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.