Class containing mesh-to-mesh mapping information after a change in polyMesh topology. More...
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
In the topology change points/faces/cells
All this information is necessary to correctly map fields.
Note (*)
if the newly inflated face is a boundary face the list of faces will only be boundary faces; if the new face is an internal face they will only be internal faces.
Definition at line 157 of file mapPolyMesh.H.
mapPolyMesh | ( | const polyMesh & | mesh | ) |
Definition at line 27 of file mapPolyMesh.C.
References polyMesh::boundaryMesh(), polyMesh::cellZones(), polyMesh::faceZones(), forAll, Foam::identity(), mapPolyMesh::mesh(), nPoints, and polyMesh::pointZones().
mapPolyMesh | ( | const polyMesh & | mesh, |
const label | nOldPoints, | ||
const label | nOldFaces, | ||
const label | nOldCells, | ||
const labelList & | pointMap, | ||
const List< objectMap > & | pointsFromPoints, | ||
const labelList & | faceMap, | ||
const List< objectMap > & | facesFromPoints, | ||
const List< objectMap > & | facesFromEdges, | ||
const List< objectMap > & | facesFromFaces, | ||
const labelList & | cellMap, | ||
const List< objectMap > & | cellsFromPoints, | ||
const List< objectMap > & | cellsFromEdges, | ||
const List< objectMap > & | cellsFromFaces, | ||
const List< objectMap > & | cellsFromCells, | ||
const labelList & | reversePointMap, | ||
const labelList & | reverseFaceMap, | ||
const labelList & | reverseCellMap, | ||
const labelHashSet & | flipFaceFlux, | ||
const labelListList & | patchPointMap, | ||
const labelListList & | pointZoneMap, | ||
const labelListList & | faceZonePointMap, | ||
const labelListList & | faceZoneFaceMap, | ||
const labelListList & | cellZoneMap, | ||
const pointField & | preMotionPoints, | ||
const labelList & | oldPatchStarts, | ||
const labelList & | oldPatchNMeshPoints, | ||
const autoPtr< scalarField > & | oldCellVolumesPtr | ||
) |
Definition at line 93 of file mapPolyMesh.C.
References Foam::abort(), Foam::expressions::patchExpr::debug, Foam::FatalError, FatalErrorInFunction, and Foam::min().
mapPolyMesh | ( | const polyMesh & | mesh, |
const label | nOldPoints, | ||
const label | nOldFaces, | ||
const label | nOldCells, | ||
labelList & | pointMap, | ||
List< objectMap > & | pointsFromPoints, | ||
labelList & | faceMap, | ||
List< objectMap > & | facesFromPoints, | ||
List< objectMap > & | facesFromEdges, | ||
List< objectMap > & | facesFromFaces, | ||
labelList & | cellMap, | ||
List< objectMap > & | cellsFromPoints, | ||
List< objectMap > & | cellsFromEdges, | ||
List< objectMap > & | cellsFromFaces, | ||
List< objectMap > & | cellsFromCells, | ||
labelList & | reversePointMap, | ||
labelList & | reverseFaceMap, | ||
labelList & | reverseCellMap, | ||
labelHashSet & | flipFaceFlux, | ||
labelListList & | patchPointMap, | ||
labelListList & | pointZoneMap, | ||
labelListList & | faceZonePointMap, | ||
labelListList & | faceZoneFaceMap, | ||
labelListList & | cellZoneMap, | ||
pointField & | preMotionPoints, | ||
labelList & | oldPatchStarts, | ||
labelList & | oldPatchNMeshPoints, | ||
autoPtr< scalarField > & | oldCellVolumesPtr, | ||
const bool | reuse | ||
) |
Definition at line 181 of file mapPolyMesh.C.
References Foam::abort(), autoPtr::clone(), Foam::expressions::patchExpr::debug, Foam::FatalError, FatalErrorInFunction, and Foam::min().
|
inline |
Definition at line 359 of file mapPolyMesh.H.
Referenced by mapPolyMesh::mapPolyMesh(), hexRef8Data::updateMesh(), derivedFields::updateMesh(), streamLineBase::updateMesh(), areaWrite::updateMesh(), sampledSets::updateMesh(), probes::updateMesh(), ObukhovLength::updateMesh(), and sampledSurfaces::updateMesh().
|
inline |
Definition at line 365 of file mapPolyMesh.H.
Referenced by hexRef8Data::updateMesh(), and hexRef8::updateMesh().
|
inline |
Definition at line 371 of file mapPolyMesh.H.
|
inline |
Definition at line 377 of file mapPolyMesh.H.
Referenced by snappyLayerDriver::addLayers(), and fvMesh::mapFields().
|
inline |
Definition at line 383 of file mapPolyMesh.H.
Referenced by fvMesh::mapFields(), hexRef8Data::updateMesh(), fvMesh::updateMesh(), and hexRef8::updateMesh().
|
inline |
Definition at line 392 of file mapPolyMesh.H.
Referenced by snappyLayerDriver::addLayers(), pointMapper::pointMapper(), hexRef8Data::updateMesh(), points0MotionSolver::updateMesh(), componentDisplacementMotionSolver::updateMesh(), displacementLayeredMotionMotionSolver::updateMesh(), hexRef8::updateMesh(), and polyMesh::updateMesh().
Definition at line 398 of file mapPolyMesh.H.
Referenced by pointMapper::pointMapper().
|
inline |
Definition at line 406 of file mapPolyMesh.H.
Referenced by snappyLayerDriver::addLayers(), meshRefinement::createBaffles(), faceMapper::faceMapper(), dynamicRefineFvMesh::mapFields(), fvMesh::mapFields(), meshRefinement::splitFacesUndo(), and meshRefinement::updateMesh().
Definition at line 412 of file mapPolyMesh.H.
Referenced by faceMapper::faceMapper().
Definition at line 418 of file mapPolyMesh.H.
Referenced by faceMapper::faceMapper().
Definition at line 424 of file mapPolyMesh.H.
Referenced by faceMapper::faceMapper().
|
inline |
Definition at line 431 of file mapPolyMesh.H.
Referenced by cellMapper::cellMapper(), fvMesh::mapFields(), hexRef8Data::updateMesh(), refinementHistory::updateMesh(), hexRef8::updateMesh(), and polyMesh::updateMesh().
Definition at line 437 of file mapPolyMesh.H.
Referenced by cellMapper::cellMapper().
Definition at line 443 of file mapPolyMesh.H.
Referenced by cellMapper::cellMapper().
Definition at line 449 of file mapPolyMesh.H.
Referenced by cellMapper::cellMapper().
Definition at line 455 of file mapPolyMesh.H.
Referenced by cellMapper::cellMapper().
|
inline |
Definition at line 465 of file mapPolyMesh.H.
Referenced by meshRefinement::splitFacesUndo(), pointBitSet::updateMesh(), duplicatePoints::updateMesh(), points0MotionSolver::updateMesh(), componentDisplacementMotionSolver::updateMesh(), pointSet::updateMesh(), removePoints::updateMesh(), pointZoneSet::updateMesh(), boundaryCutter::updateMesh(), displacementLayeredMotionMotionSolver::updateMesh(), createShellMesh::updateMesh(), combineFaces::updateMesh(), tetDecomposer::updateMesh(), localPointRegion::updateMesh(), meshCutAndRemove::updateMesh(), meshCutter::updateMesh(), addPatchCellLayer::updateMesh(), hexRef8::updateMesh(), and polyMesh::updateMesh().
|
inline |
Definition at line 472 of file mapPolyMesh.H.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.
|
inline |
Definition at line 497 of file mapPolyMesh.H.
Referenced by meshRefinement::createBaffles(), meshRefinement::doRemoveCells(), meshRefinement::doRestorePoints(), dynamicRefineFvMesh::mapFields(), meshRefinement::mergeBaffles(), meshRefinement::mergePatchFaces(), meshRefinement::splitFacesUndo(), faceBitSet::updateMesh(), faceBoolSet::updateMesh(), faceSet::updateMesh(), removePoints::updateMesh(), boundaryCutter::updateMesh(), faceZoneSet::updateMesh(), createShellMesh::updateMesh(), combineFaces::updateMesh(), externalDisplacementMeshMover::updateMesh(), localPointRegion::updateMesh(), meshCutAndRemove::updateMesh(), meshCutter::updateMesh(), probes::updateMesh(), faceZone::updateMesh(), addPatchCellLayer::updateMesh(), and meshRefinement::updateMesh().
|
inline |
Definition at line 503 of file mapPolyMesh.H.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.
|
inline |
Definition at line 528 of file mapPolyMesh.H.
Referenced by particle< Type >::autoMap(), fvMesh::mapFields(), cellZoneSet::updateMesh(), cellSet::updateMesh(), undoableMeshCutter::updateMesh(), createShellMesh::updateMesh(), tetDecomposer::updateMesh(), meshCutAndRemove::updateMesh(), meshCutter::updateMesh(), probes::updateMesh(), refinementHistory::updateMesh(), and hexRef8::updateMesh().
|
inline |
Definition at line 534 of file mapPolyMesh.H.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.
|
inline |
Definition at line 558 of file mapPolyMesh.H.
|
inline |
Definition at line 566 of file mapPolyMesh.H.
|
inline |
Definition at line 577 of file mapPolyMesh.H.
|
inline |
Definition at line 585 of file mapPolyMesh.H.
|
inline |
Definition at line 593 of file mapPolyMesh.H.
|
inline |
Definition at line 601 of file mapPolyMesh.H.
|
inline |
Definition at line 609 of file mapPolyMesh.H.
Referenced by snappyLayerDriver::addLayers(), polyMeshFilter::copyMesh(), meshRefinement::createBaffles(), meshRefinement::doRemoveCells(), meshRefinement::doRemovePoints(), meshRefinement::doRestorePoints(), meshRefinement::dupNonManifoldPoints(), meshRefinement::mergeBaffles(), meshRefinement::mergePatchFaces(), meshRefinement::mergePoints(), meshRefinement::refine(), meshRefinement::splitFacesUndo(), points0MotionSolver::updateMesh(), and componentDisplacementMotionSolver::updateMesh().
|
inline |
Definition at line 615 of file mapPolyMesh.H.
Referenced by snappyLayerDriver::addLayers(), polyMeshFilter::copyMesh(), meshRefinement::createBaffles(), meshRefinement::doRemoveCells(), meshRefinement::doRemovePoints(), meshRefinement::doRestorePoints(), meshRefinement::dupNonManifoldPoints(), meshRefinement::mergeBaffles(), meshRefinement::mergePatchFaces(), meshRefinement::mergePoints(), meshRefinement::refine(), meshRefinement::splitFacesUndo(), points0MotionSolver::updateMesh(), componentDisplacementMotionSolver::updateMesh(), and polyMesh::updateMesh().
|
inline |
Definition at line 622 of file mapPolyMesh.H.
|
inline |
Definition at line 628 of file mapPolyMesh.H.
|
inline |
Definition at line 634 of file mapPolyMesh.H.
|
inline |
Definition at line 642 of file mapPolyMesh.H.
References bool.
|
inline |
Definition at line 647 of file mapPolyMesh.H.
Referenced by fvMesh::updateMesh().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.