![]() |
|
Public Member Functions | |
ClassName ("directPolyTopoChange") | |
Runtime type information. | |
directPolyTopoChange (const polyMesh &mesh, const bool strict=true) | |
Construct from mesh. Adds all points/face/cells from mesh. | |
const DynamicList< point > & | points () const |
Points. Shrunk after constructing mesh (or calling of compact()). | |
const DynamicList< face > & | faces () const |
const DynamicList< label > & | region () const |
const DynamicList< label > & | faceOwner () const |
const DynamicList< label > & | faceNeighbour () const |
void | clear () |
Clear all storage. | |
void | addMesh (const polyMesh &, const labelList &patchMap, const labelList &pointZoneMap, const labelList &faceZoneMap, const labelList &cellZoneMap) |
Add all points/faces/cells of mesh. Additional offset for patch. | |
label | setAction (const topoAction &action) |
For compatibility with polyTopoChange: set topological action. | |
label | addPoint (const point &, const label masterPointID, const label zoneID, const bool inCell) |
Add point. Return new point label. | |
void | modifyPoint (const label, const point &, const label newZoneID, const bool inCell) |
Modify coordinate. | |
void | removePoint (const label) |
Remove point. | |
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. | |
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) |
Modify vertices or cell of face. | |
void | removeFace (const label) |
Remove face. | |
label | addCell (const label masterPointID, const label masterEdgeID, const label masterFaceID, const label masterCellID, const label zoneID) |
Add cell. Return new cell label. | |
void | modifyCell (const label, const label zoneID) |
Modify zone of cell. | |
void | removeCell (const label) |
Remove cell. | |
autoPtr< mapPolyMesh > | changeMesh (polyMesh &mesh) |
Inplace changes mesh without change of patches. |
|
Construct from mesh. Adds all points/face/cells from mesh.
|
|
Add cell. Return new cell label.
|
|
Add face to cells. Return new face label. own,nei<0, zoneID>=0 : add inactive face (to end of face list) |
|
Add all points/faces/cells of mesh. Additional offset for patch. or zone ids. |
|
Add point. Return new point label. Notes:
|
|
Inplace changes mesh without change of patches. Adapts patch start/end and does reorderCoupledFaces. Clears all data. Returns map. |
|
Runtime type information.
|
|
Clear all storage.
|
|
Definition at line 474 of file directPolyTopoChange.H. References Foam::label, and Foam::point. |
|
Definition at line 469 of file directPolyTopoChange.H. References Foam::label. |
|
Definition at line 459 of file directPolyTopoChange.H. References Foam::labelList. |
|
Modify zone of cell.
|
|
Modify vertices or cell of face.
|
|
Modify coordinate. Notes:
|
|
Points. Shrunk after constructing mesh (or calling of compact()).
Definition at line 454 of file directPolyTopoChange.H. |
|
Definition at line 464 of file directPolyTopoChange.H. References Foam::labelList. |
|
Remove cell.
|
|
Remove face.
|
|
Remove point.
|
|
For compatibility with polyTopoChange: set topological action.
|