Direct mesh changes based on v1.3 polyTopoChange syntax. More...
Public Member Functions | |
ClassName ("polyTopoChange") | |
Runtime type information. More... | |
polyTopoChange (const label nPatches, const bool strict=true) | |
Construct without mesh. Either specify nPatches or use setNumPatches before trying to make a mesh (makeMesh, changeMesh) More... | |
polyTopoChange (const polyMesh &mesh, const bool strict=true) | |
Construct from mesh. Adds all points/face/cells from mesh. More... | |
const DynamicList< point > & | points () const |
Points. Shrunk after constructing mesh (or calling of compact()) More... | |
const DynamicList< face > & | faces () const |
const DynamicList< label > & | region () const |
const DynamicList< label > & | faceOwner () const |
const DynamicList< label > & | faceNeighbour () const |
bool | pointRemoved (const label pointi) const |
Is point removed? Considered removed if point is GREAT. More... | |
bool | faceRemoved (const label facei) const |
Is face removed? Considered removed if face is empty. More... | |
bool | cellRemoved (const label celli) const |
Is cell removed? Considered removed if the cellMap is -2. More... | |
void | clear () |
Clear all storage. More... | |
void | addMesh (const polyMesh &mesh, const labelUList &patchMap, const labelUList &pointZoneMap, const labelUList &faceZoneMap, const labelUList &cellZoneMap) |
Add all points/faces/cells of mesh. Additional offset for patch or zone ids. More... | |
void | setCapacity (const label nPoints, const label nFaces, const label nCells) |
Explicitly pre-size the dynamic storage for expected mesh size for if construct-without-mesh. More... | |
void | shrink () |
Shrink storage (does not remove any elements; just compacts dynamic lists. More... | |
void | movePoints (const pointField &newPoints) |
Move all points. Incompatible with other topology changes. More... | |
label | setAction (const topoAction &action) |
For compatibility with polyTopoChange: set topological action. More... | |
label | addPoint (const point &pt, const label masterPointID, const label zoneID, const bool inCell) |
Add point. Return new point label. More... | |
label | addPoint (const point &pt, const label masterPointID, const labelUList &zoneIDs, const bool inCell) |
Add point. Return new point label. More... | |
void | modifyPoint (const label pointi, const point &pt, const label zoneID, const bool inCell, const bool multiZone=false) |
Modify coordinate. More... | |
void | modifyPoint (const label pointi, const point &pt, const labelUList &zoneIDs, const bool inCell) |
Modify coordinate. More... | |
void | removePoint (const label pointi, const label mergePointi) |
Remove/merge point. More... | |
label | pointZones (const label pointi, DynamicList< label > &zones) const |
Get current cellZone(s). Return number of zones. More... | |
label | addFace (const face &f, const label own, const label nei, const label masterPointID, const label masterEdgeID, const label masterFaceID, const bool flipFaceFlux, const label patchID, const label zoneID, const bool zoneFlip) |
Add face to cells. Return new face label. More... | |
label | addFace (const face &f, const label own, const label nei, const label masterPointID, const label masterEdgeID, const label masterFaceID, const bool flipFaceFlux, const label patchID, const labelUList &zoneIDs, const UList< bool > &zoneFlips) |
Add face to cells. Return new face label. More... | |
void | modifyFace (const face &f, const label facei, const label own, const label nei, const bool flipFaceFlux, const label patchID, const label zoneID, const bool zoneFlip, const bool multiZone=false) |
Modify vertices or cell of face. More... | |
void | modifyFace (const face &f, const label facei, const label own, const label nei, const bool flipFaceFlux, const label patchID, const labelUList &zoneIDs, const UList< bool > &zoneFlips) |
Modify vertices or cell of face. More... | |
void | removeFace (const label facei, const label mergeFacei) |
Remove/merge face. More... | |
label | faceZones (const label facei, DynamicList< label > &zones, DynamicList< bool > &flips) const |
Get current faceZone(s). Return number of zones. More... | |
label | addCell (const label masterPointID, const label masterEdgeID, const label masterFaceID, const label masterCellID, const label zoneID) |
Add cell. Return new cell label. More... | |
label | addCell (const label masterPointID, const label masterEdgeID, const label masterFaceID, const label masterCellID, const labelUList &zoneIDs) |
Add zoned cell (zones cannot be -1). Return new cell label. More... | |
void | modifyCell (const label celli, const label zoneID, const bool multiZone=false) |
Modify zone of cell. Optionally add to zone. More... | |
void | modifyCell (const label celli, const labelUList &zoneIDs) |
Set zones of cell. More... | |
void | removeCell (const label celli, const label mergeCelli) |
Remove/merge cell. More... | |
label | cellZones (const label celli, DynamicList< label > &zones) const |
Get current cellZone(s). Return number of zones. More... | |
void | setNumPatches (const label nPatches) |
Explicitly set the number of patches if construct-without-mesh used. More... | |
autoPtr< mapPolyMesh > | changeMesh (polyMesh &mesh, const labelUList &patchMap, const bool inflate, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false) |
Inplace changes mesh without change of patches. More... | |
autoPtr< mapPolyMesh > | changeMesh (polyMesh &mesh, const bool inflate, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false) |
Without patch mapping. More... | |
template<class Type > | |
autoPtr< mapPolyMesh > | makeMesh (autoPtr< Type > &newMesh, const IOobject &io, const polyMesh &mesh, const labelUList &patchMap, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false) |
Create new mesh with old mesh patches. Additional dictionaries. More... | |
template<class Type > | |
autoPtr< mapPolyMesh > | makeMesh (autoPtr< Type > &newMesh, const IOobject &io, const polyMesh &mesh, const bool syncParallel=true, const bool orderCells=false, const bool orderPoints=false) |
Create new mesh with old mesh patches. Additional dictionaries. More... | |
template<class Type > | |
Foam::autoPtr< Foam::mapPolyMesh > | makeMesh (autoPtr< Type > &newMeshPtr, const IOobject &io, const polyMesh &mesh, const labelUList &patchMap, const bool syncParallel, const bool orderCells, const bool orderPoints) |
template<class Type > | |
Foam::autoPtr< Foam::mapPolyMesh > | makeMesh (autoPtr< Type > &newMeshPtr, const IOobject &io, const polyMesh &mesh, const bool syncParallel, const bool orderCells, const bool orderPoints) |
Direct mesh changes based on v1.3 polyTopoChange syntax.
Instead of recording changes and executing them all in one go (as did v1.3 polyTopoChange) this class actually holds the current points/faces/cells and does the change immediately. It can be asked to compress out all unused points/faces/cells and renumber everything to be consistent.
Note:
Definition at line 103 of file polyTopoChange.H.
polyTopoChange | ( | const label | nPatches, |
const bool | strict = true |
||
) |
Construct without mesh. Either specify nPatches or use setNumPatches before trying to make a mesh (makeMesh, changeMesh)
Definition at line 2272 of file polyTopoChange.C.
polyTopoChange | ( | const polyMesh & | mesh, |
const bool | strict = true |
||
) |
Construct from mesh. Adds all points/face/cells from mesh.
Definition at line 2304 of file polyTopoChange.C.
References polyMesh::boundaryMesh(), polyMesh::cellZones(), polyMesh::faceZones(), Foam::identity(), mesh, polyMesh::pointZones(), and UPtrList< T >::size().
ClassName | ( | "polyTopoChange" | ) |
Runtime type information.
|
inline |
Points. Shrunk after constructing mesh (or calling of compact())
Definition at line 566 of file polyTopoChange.H.
Referenced by duplicatePoints::setRefinement(), addPatchCellLayer::setRefinement(), cyclicAMIPolyPatch::setTopology(), and meshRefinement::splitFacesUndo().
|
inline |
Definition at line 571 of file polyTopoChange.H.
Referenced by meshRefinement::splitFacesUndo().
|
inline |
Definition at line 576 of file polyTopoChange.H.
|
inline |
Definition at line 581 of file polyTopoChange.H.
|
inline |
Definition at line 586 of file polyTopoChange.H.
|
inline |
Is point removed? Considered removed if point is GREAT.
Definition at line 25 of file polyTopoChangeI.H.
References Foam::max().
|
inline |
Is face removed? Considered removed if face is empty.
Definition at line 36 of file polyTopoChangeI.H.
|
inline |
Is cell removed? Considered removed if the cellMap is -2.
Definition at line 42 of file polyTopoChangeI.H.
void clear | ( | ) |
Clear all storage.
Definition at line 2348 of file polyTopoChange.C.
void addMesh | ( | const polyMesh & | mesh, |
const labelUList & | patchMap, | ||
const labelUList & | pointZoneMap, | ||
const labelUList & | faceZoneMap, | ||
const labelUList & | cellZoneMap | ||
) |
Add all points/faces/cells of mesh. Additional offset for patch or zone ids.
Definition at line 2382 of file polyTopoChange.C.
References Foam::abort(), DynamicList< T, SizeMin >::append(), polyMesh::boundaryMesh(), polyMesh::cellZones(), Foam::endl(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMesh::faces(), polyMesh::faceZones(), Foam::FatalError, FatalErrorInFunction, forAll, Foam::max(), mesh, primitiveMesh::nCells(), primitiveMesh::nInternalFaces(), patches, points, polyMesh::points(), polyMesh::pointZones(), pp(), PtrList< T >::resize(), and UList< T >::size().
void setCapacity | ( | const label | nPoints, |
const label | nFaces, | ||
const label | nCells | ||
) |
Explicitly pre-size the dynamic storage for expected mesh size for if construct-without-mesh.
Definition at line 2618 of file polyTopoChange.C.
References nPoints.
Referenced by fvMeshAdder::add(), and meshRefinement::splitFacesUndo().
void shrink | ( | ) |
Shrink storage (does not remove any elements; just compacts dynamic lists.
Definition at line 939 of file polyTopoChange.C.
Referenced by snappyLayerDriver::addLayers().
void movePoints | ( | const pointField & | newPoints | ) |
Move all points. Incompatible with other topology changes.
Definition at line 3001 of file polyTopoChange.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, forAll, and UList< T >::size().
Referenced by dynamicMotionSolverFvMeshAMI::update().
Foam::label setAction | ( | const topoAction & | action | ) |
For compatibility with polyTopoChange: set topological action.
Definition at line 2650 of file polyTopoChange.C.
References Foam::abort(), polyRemoveCell::cellID(), polyModifyCell::cellID(), polyRemoveFace::faceID(), polyModifyFace::faceID(), Foam::FatalError, FatalErrorInFunction, polyModifyFace::flipFaceFlux(), polyAddFace::flipFaceFlux(), polyModifyPoint::inCell(), polyAddPoint::inCell(), polyAddCell::masterCellID(), polyAddCell::masterEdgeID(), polyAddFace::masterEdgeID(), polyAddCell::masterFaceID(), polyAddFace::masterFaceID(), polyAddPoint::masterPointID(), polyAddCell::masterPointID(), polyAddFace::masterPointID(), polyRemoveCell::mergeCellID(), polyRemoveFace::mergeFaceID(), polyRemovePoint::mergePointID(), polyModifyFace::neighbour(), polyAddFace::neighbour(), polyModifyFace::newFace(), polyAddFace::newFace(), polyAddPoint::newPoint(), polyModifyPoint::newPoint(), polyModifyFace::owner(), polyAddFace::owner(), polyModifyFace::patchID(), polyAddFace::patchID(), polyRemovePoint::pointID(), polyModifyPoint::pointID(), polyModifyCell::removeFromZone(), polyModifyFace::zoneFlip(), polyAddFace::zoneFlip(), polyModifyCell::zoneID(), polyModifyPoint::zoneID(), polyAddPoint::zoneID(), polyAddCell::zoneID(), polyModifyFace::zoneID(), and polyAddFace::zoneID().
Referenced by meshRefinement::mergeBaffles(), polyMeshAdder::mergePoints(), removeCells::setRefinement(), faceCollapser::setRefinement(), boundaryCutter::setRefinement(), removePoints::setRefinement(), combineFaces::setRefinement(), removeFaces::setRefinement(), meshCutAndRemove::setRefinement(), meshCutter::setRefinement(), addPatchCellLayer::setRefinement(), hexRef8::setRefinement(), removePoints::setUnrefinement(), and combineFaces::setUnrefinement().
Foam::label addPoint | ( | const point & | pt, |
const label | masterPointID, | ||
const label | zoneID, | ||
const bool | inCell | ||
) |
Add point. Return new point label.
Notes:
Definition at line 2779 of file polyTopoChange.C.
Referenced by polyMeshAdder::add(), duplicatePoints::setRefinement(), createShellMesh::setRefinement(), and tetDecomposer::setRefinement().
Foam::label addPoint | ( | const point & | pt, |
const label | masterPointID, | ||
const labelUList & | zoneIDs, | ||
const bool | inCell | ||
) |
Add point. Return new point label.
Notes:
Definition at line 2808 of file polyTopoChange.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::findMin(), Foam::flatOutput(), forAll, UList< T >::size(), and zoneIDs.
void modifyPoint | ( | const label | pointi, |
const point & | pt, | ||
const label | zoneID, | ||
const bool | inCell, | ||
const bool | multiZone = false |
||
) |
Modify coordinate.
Notes:
Definition at line 2858 of file polyTopoChange.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.
Referenced by edgeCollapser::setRefinement().
void modifyPoint | ( | const label | pointi, |
const point & | pt, | ||
const labelUList & | zoneIDs, | ||
const bool | inCell | ||
) |
Modify coordinate.
Notes:
Definition at line 2940 of file polyTopoChange.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::flatOutput(), UList< T >::found(), UList< T >::size(), and zoneIDs.
void removePoint | ( | const label | pointi, |
const label | mergePointi | ||
) |
Remove/merge point.
Definition at line 3020 of file polyTopoChange.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::max(), and Foam::nl.
Referenced by polyMeshAdder::mergePoints(), and edgeCollapser::setRefinement().
Foam::label pointZones | ( | const label | pointi, |
DynamicList< label > & | zones | ||
) | const |
Get current cellZone(s). Return number of zones.
Definition at line 3670 of file polyTopoChange.C.
References Foam::abort(), DynamicList< T, SizeMin >::clear(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_uniq(), and UList< T >::size().
Foam::label addFace | ( | const face & | f, |
const label | own, | ||
const label | nei, | ||
const label | masterPointID, | ||
const label | masterEdgeID, | ||
const label | masterFaceID, | ||
const bool | flipFaceFlux, | ||
const label | patchID, | ||
const label | zoneID, | ||
const bool | zoneFlip | ||
) |
Add face to cells. Return new face label.
own,nei<0, zoneID>=0 : add inactive face (to end of face list)
Definition at line 3072 of file polyTopoChange.C.
References Foam::ensightOutput::debug, f(), and patchID.
Referenced by polyMeshAdder::add(), cyclicAMIPolyPatch::addAMIFaces(), meshRefinement::doSplitFaces(), and createShellMesh::setRefinement().
Foam::label addFace | ( | const face & | f, |
const label | own, | ||
const label | nei, | ||
const label | masterPointID, | ||
const label | masterEdgeID, | ||
const label | masterFaceID, | ||
const bool | flipFaceFlux, | ||
const label | patchID, | ||
const labelUList & | zoneIDs, | ||
const UList< bool > & | zoneFlips | ||
) |
Add face to cells. Return new face label.
own,nei<0, zoneID>=0 : add inactive face (to end of face list)
Definition at line 3137 of file polyTopoChange.C.
References Foam::ensightOutput::debug, Foam::exit(), f(), Foam::FatalError, FatalErrorInFunction, Foam::findMin(), Foam::flatOutput(), forAll, patchID, UList< T >::size(), and zoneIDs.
void modifyFace | ( | const face & | f, |
const label | facei, | ||
const label | own, | ||
const label | nei, | ||
const bool | flipFaceFlux, | ||
const label | patchID, | ||
const label | zoneID, | ||
const bool | zoneFlip, | ||
const bool | multiZone = false |
||
) |
Modify vertices or cell of face.
Definition at line 3230 of file polyTopoChange.C.
References Foam::abort(), Foam::ensightOutput::debug, f(), Foam::FatalError, FatalErrorInFunction, and patchID.
Referenced by meshRefinement::doSplitFaces(), duplicatePoints::setRefinement(), edgeCollapser::setRefinement(), addPatchCellLayer::setRefinement(), and meshRefinement::splitFacesUndo().
void modifyFace | ( | const face & | f, |
const label | facei, | ||
const label | own, | ||
const label | nei, | ||
const bool | flipFaceFlux, | ||
const label | patchID, | ||
const labelUList & | zoneIDs, | ||
const UList< bool > & | zoneFlips | ||
) |
Modify vertices or cell of face.
Definition at line 3318 of file polyTopoChange.C.
References Foam::abort(), Foam::ensightOutput::debug, f(), Foam::FatalError, FatalErrorInFunction, Foam::flatOutput(), UList< T >::found(), patchID, UList< T >::size(), and zoneIDs.
void removeFace | ( | const label | facei, |
const label | mergeFacei | ||
) |
Remove/merge face.
Definition at line 3386 of file polyTopoChange.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.
Referenced by cyclicAMIPolyPatch::removeAMIFaces(), edgeCollapser::setRefinement(), and meshRefinement::splitFacesUndo().
Foam::label faceZones | ( | const label | facei, |
DynamicList< label > & | zones, | ||
DynamicList< bool > & | flips | ||
) | const |
Get current faceZone(s). Return number of zones.
Definition at line 3701 of file polyTopoChange.C.
References Foam::abort(), DynamicList< T, SizeMin >::clear(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, UList< T >::found(), Foam::mag(), DynamicList< T, SizeMin >::push_back(), and UList< T >::size().
Foam::label addCell | ( | const label | masterPointID, |
const label | masterEdgeID, | ||
const label | masterFaceID, | ||
const label | masterCellID, | ||
const label | zoneID | ||
) |
Add cell. Return new cell label.
Definition at line 3437 of file polyTopoChange.C.
Referenced by polyMeshAdder::add(), createShellMesh::setRefinement(), and tetDecomposer::setRefinement().
Foam::label addCell | ( | const label | masterPointID, |
const label | masterEdgeID, | ||
const label | masterFaceID, | ||
const label | masterCellID, | ||
const labelUList & | zoneIDs | ||
) |
Add zoned cell (zones cannot be -1). Return new cell label.
Definition at line 3476 of file polyTopoChange.C.
References UList< T >::size(), and zoneIDs.
void modifyCell | ( | const label | celli, |
const label | zoneID, | ||
const bool | multiZone = false |
||
) |
Modify zone of cell. Optionally add to zone.
Definition at line 3532 of file polyTopoChange.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
void modifyCell | ( | const label | celli, |
const labelUList & | zoneIDs | ||
) |
Set zones of cell.
Definition at line 3583 of file polyTopoChange.C.
References Foam::abort(), List< T >::clear(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, Foam::flatOutput(), UList< T >::found(), UList< T >::size(), and zoneIDs.
void removeCell | ( | const label | celli, |
const label | mergeCelli | ||
) |
Remove/merge cell.
Definition at line 3628 of file polyTopoChange.C.
References Foam::abort(), Foam::endl(), Foam::FatalError, and FatalErrorInFunction.
Referenced by edgeCollapser::setRefinement().
Foam::label cellZones | ( | const label | celli, |
DynamicList< label > & | zones | ||
) | const |
Get current cellZone(s). Return number of zones.
Definition at line 3740 of file polyTopoChange.C.
References Foam::abort(), DynamicList< T, SizeMin >::clear(), Foam::endl(), Foam::FatalError, FatalErrorInFunction, DynamicList< T, SizeMin >::push_back(), DynamicList< T, SizeMin >::push_uniq(), and UList< T >::size().
|
inline |
Explicitly set the number of patches if construct-without-mesh used.
Definition at line 48 of file polyTopoChangeI.H.
References nPatches.
Foam::autoPtr< Foam::mapPolyMesh > changeMesh | ( | polyMesh & | mesh, |
const labelUList & | patchMap, | ||
const bool | inflate, | ||
const bool | syncParallel = true , |
||
const bool | orderCells = false , |
||
const bool | orderPoints = false |
||
) |
Inplace changes mesh without change of patches.
Adapts patch start/end and by default does parallel matching. Clears all data. Returns map. inflate = true : keep old mesh points. Put new points into the returned map (preMotionPoints) so we can use inflation. Any points out of nothing (appended points) are vector::zero. inflate = false: set mesh points directly. Empty preMotionPoints in the map. orderCells : whether to order the cells (see bandCompression.H) orderPoints : whether to order the points into internal first followed by boundary points. This is not fully consistent with upper-triangular ordering of points and edges so is only done when explicitly asked for.
Definition at line 3769 of file polyTopoChange.C.
References polyMesh::boundaryMesh(), primitiveMesh::cellVolumes(), polyMesh::cellZones(), Foam::ensightOutput::debug, Foam::endl(), polyMesh::faceZones(), forAll, mesh, primitiveMesh::nCells(), autoPtr< T >::New(), newPointi, primitiveMesh::nFaces(), Foam::nl, primitiveMesh::nPoints(), polyMesh::points(), polyMesh::pointZones(), Foam::Pout, polyMesh::resetPrimitives(), UList< T >::size(), UPtrList< T >::size(), polyMesh::topoChanging(), Foam::HashSetOps::used(), and Foam::Zero.
Referenced by fvMeshAdder::add(), meshRefinement::createBaffles(), meshRefinement::directionalRefine(), meshRefinement::doRemoveCells(), meshRefinement::doRemovePoints(), meshRefinement::doRestorePoints(), meshRefinement::dupNonManifoldPoints(), meshRefinement::mergeBaffles(), meshRefinement::mergePatchFaces(), meshRefinement::mergePatchFacesUndo(), meshRefinement::mergePoints(), dynamicRefineFvMesh::refine(), meshRefinement::refine(), refinementIterator::setRefinement(), meshRefinement::splitFacesUndo(), dynamicRefineFvMesh::unrefine(), dynamicMotionSolverFvMeshAMI::update(), and meshRefinement::zonify().
Foam::autoPtr< Foam::mapPolyMesh > changeMesh | ( | polyMesh & | mesh, |
const bool | inflate, | ||
const bool | syncParallel = true , |
||
const bool | orderCells = false , |
||
const bool | orderPoints = false |
||
) |
Without patch mapping.
Definition at line 4034 of file polyTopoChange.C.
References polyMesh::boundaryMesh(), Foam::identity(), mesh, and UPtrList< T >::size().
autoPtr<mapPolyMesh> makeMesh | ( | autoPtr< Type > & | newMesh, |
const IOobject & | io, | ||
const polyMesh & | mesh, | ||
const labelUList & | patchMap, | ||
const bool | syncParallel = true , |
||
const bool | orderCells = false , |
||
const bool | orderPoints = false |
||
) |
Create new mesh with old mesh patches. Additional dictionaries.
(fv* etc) read according to IO flags
Referenced by snappyLayerDriver::addLayers(), and polyMeshFilter::copyMesh().
autoPtr<mapPolyMesh> makeMesh | ( | autoPtr< Type > & | newMesh, |
const IOobject & | io, | ||
const polyMesh & | mesh, | ||
const bool | syncParallel = true , |
||
const bool | orderCells = false , |
||
const bool | orderPoints = false |
||
) |
Create new mesh with old mesh patches. Additional dictionaries.
(fv* etc) read according to IO flags
Foam::autoPtr<Foam::mapPolyMesh> makeMesh | ( | autoPtr< Type > & | newMeshPtr, |
const IOobject & | io, | ||
const polyMesh & | mesh, | ||
const labelUList & | patchMap, | ||
const bool | syncParallel, | ||
const bool | orderCells, | ||
const bool | orderPoints | ||
) |
Definition at line 76 of file polyTopoChangeTemplates.C.
References polyMesh::boundaryMesh(), primitiveMesh::cellVolumes(), polyMesh::cellZones(), Foam::ensightOutput::debug, Foam::endl(), polyMesh::faceZones(), forAll, io(), mesh, Foam::name(), primitiveMesh::nCells(), autoPtr< T >::New(), primitiveMesh::nFaces(), Foam::nl, primitiveMesh::nPoints(), word::null, polyMesh::pointZones(), Foam::Pout, autoPtr< T >::reset(), UList< T >::size(), UPtrList< T >::size(), and Foam::HashSetOps::used().
Foam::autoPtr<Foam::mapPolyMesh> makeMesh | ( | autoPtr< Type > & | newMeshPtr, |
const IOobject & | io, | ||
const polyMesh & | mesh, | ||
const bool | syncParallel, | ||
const bool | orderCells, | ||
const bool | orderPoints | ||
) |
Definition at line 396 of file polyTopoChangeTemplates.C.
References polyMesh::boundaryMesh(), Foam::identity(), io(), mesh, and UPtrList< T >::size().