Go to the documentation of this file.
35 #ifndef polyMeshGenModifier_H
36 #define polyMeshGenModifier_H
154 const bool removeProcFaces =
true
VRWGraph * pointFacesPtr_
helper data for adding cells
void removeFaces(const boolList &removeFace)
remove faces
void removeDuplicateFaces()
remove duplicate faces from the mesh
void reorderProcBoundaryFaces()
bool removeEmptyProcessorPatches()
remove empty processor patch
Template functions to aid in the implementation of demand driven data.
label addProcessorPatch(const label otherProcLabel)
add new processor patch and return its label
void addProcessorFaces(const VRWGraph &procFaces, const labelLongList &facePatches)
add additional faces into processor patches
void replaceBoundary(const wordList &patchNames, const VRWGraph &boundaryFaces, const labelLongList &faceOwners, const labelLongList &facePatches)
replace the boundary with new boundary faces
const pointFieldPMG & points() const
access to points
void calculatePointFaces()
calculate and return point faces
void clearOut() const
clear all pointer data
polyMeshGen & mesh_
reference to the mesh
const faceListPMG & faces() const
access to faces
PtrList< boundaryPatch > & boundariesAccess()
access to boundary data
void deleteDemandDrivenData(DataPtr &dataPtr)
PtrList< processorBoundaryPatch > & procBoundariesAccess()
access to processor boundary data
cellListPMG & cellsAccess()
access to cells
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void reorderBoundaryFaces()
PtrList< processorBoundaryPatch > procBoundaries_
void clearOut()
clear out unnecessary data (pointFacesPtr_);
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
wordList patchNames(nPatches)
label size() const
return the number of used elements
void removeUnusedVertices()
remove unused vertices
pointFieldPMG & pointsAccess()
access to mesh points
void renumberMesh()
reorder the cells and faces to reduce the matrix bandwidth
This class is an implementation of a list of graphs with variable column width. The implementation is...
void reverseAddressing(const label nRows, const GraphType &origGraph)
faceListPMG faces_
list of faces
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
cellListPMG cells_
list of cells
void addCell(const faceList &cellFaces)
polyMeshGenModifier(polyMeshGen &mesh)
Construct from the reference to the mesh.
void clearAll()
clear out all allocated data
void addCells(const LongList< faceList > &cellFaces)
add cells (vertices must be added)
void zipUpCells()
zip up topologically open cells
faceListPMG & facesAccess()
access to mesh faces
pointFieldPMG points_
list of vertices
PtrList< boundaryPatch > boundaries_
boundary data
void removeCells(const boolList &removeCell, const bool removeProcFaces=true)
remove cells