|
|


Public Types | |
| enum | readUpdateState { UNCHANGED, POINTS_MOVED, TOPO_CHANGE, TOPO_PATCH_CHANGE } |
| Enumeration defining the state of the mesh after a read update. More... | |
Public Member Functions | |
| TypeName ("polyMesh") | |
| Runtime type information. | |
| polyMesh (const IOobject &io) | |
| Construct from IOobject. | |
| polyMesh (const IOobject &io, const pointField &points, const faceList &faces, const cellList &cells) | |
| Construct from components without boundary. | |
| polyMesh (const IOobject &io, const pointField &points, const cellShapeList &shapes, const faceListList &boundaryFaces, const wordList &boundaryPatchNames, const wordList &boundaryPatchTypes, const word &defaultBoundaryPatchType, const wordList &boundaryPatchPhysicalTypes) | |
| Construct from cell shapes. | |
| virtual | ~polyMesh () |
| virtual const fileName & | dbDir () const |
| Over-ride the objectRegistry dbDir. | |
| fileName | meshDir () const |
| Return the local mesh directory (dbDir()/meshSubDir). | |
| const fileName & | pointsInstance () const |
| Return the current instance directory for points. | |
| const fileName & | facesInstance () const |
| Return the current instance directory for faces. | |
| void | setInstance (const fileName &) |
| Set the instance for mesh files. | |
| const pointField & | allPoints () const |
| Return raw points. | |
| const faceList & | allFaces () const |
| Return raw faces. | |
| const pointField & | oldAllPoints () const |
| Return old mesh motion points. | |
| const labelList & | allOwner () const |
| Return face owner. | |
| const labelList & | allNeighbour () const |
| Return face neighbour. | |
| const polyBoundaryMesh & | boundaryMesh () const |
| Return boundary mesh. | |
| const pointZoneMesh & | pointZones () const |
| Return point zone mesh. | |
| const faceZoneMesh & | faceZones () const |
| Return face zone mesh. | |
| const cellZoneMesh & | cellZones () const |
| Return cell zone mesh. | |
| const parallelInfo & | parallelData () const |
| Return parallel info. | |
| bool | moving () const |
| Is mesh moving. | |
| virtual tmp< scalarField > | movePoints (const pointField &) |
| Move points, returns volumes swept by faces in motion. | |
| void | resetMotion () const |
| Reset motion. | |
| pointZoneMesh & | pointZones () |
| Return non-const access to the pointZones. | |
| faceZoneMesh & | faceZones () |
| Return non-const access to the faceZones. | |
| cellZoneMesh & | cellZones () |
| Return non-const access to the cellZones. | |
| void | addPatches (const List< polyPatch * > &) |
| Add boundary patches. | |
| void | addZones (const List< pointZone * > &pz, const List< faceZone * > &fz, const List< cellZone * > &cz) |
| Add mesh zones. | |
| virtual readUpdateState | readUpdate () |
| Update the mesh based on the mesh files saved in. | |
| virtual void | updateMesh (const mapPolyMesh &mpm) |
| Update the mesh corresponding to given map. | |
| void | removeBoundary () |
| Remove boundary patches. | |
| void | resetPrimitives (const label nUsedFaces, const pointField &allPoints, const faceList &allFaces, const labelList &allOwner, const labelList &allNeighbour, const labelList &patchSizes, const labelList &patchStarts, const bool validBoundary=true) |
| Reset mesh primitive data. Assumes all patch info correct. | |
| void | clearGeom () |
| Clear geometry. | |
| void | clearAddressing () |
| Clear addressing. | |
| void | clearOut () |
| Clear all geometry and addressing unnecessary for CFD. | |
| void | clearPrimitives () |
| Clear primitive data (points, faces and cells). | |
| void | removeFiles (const fileName &dir) const |
| Remove all files. | |
Static Public Attributes | |
| word | defaultRegion |
| Return the default region name. | |
| word | meshSubDir |
| Return the mesh sub-directory name (usually "polyMesh"). | |
|
|
Enumeration defining the state of the mesh after a read update. Used for post-processing applications, where the mesh needs to update based on the files written in time directores Definition at line 95 of file polyMesh.H. |
|
|
Construct from IOobject.
|
|
||||||||||||||||||||
|
Construct from components without boundary. Boundary is added using addPatches() member function |
|
||||||||||||||||||||||||||||||||||||
|
Construct from cell shapes.
|
|
|
|
|
|
Add boundary patches.
|
|
||||||||||||||||
|
Add mesh zones.
|
|
|
Return raw faces.
|
|
|
Return face neighbour.
|
|
|
Return face owner.
|
|
|
Return raw points.
|
|
|
Return boundary mesh.
Definition at line 281 of file polyMesh.H. References Foam::cellZoneMesh. |
|
|
Return non-const access to the cellZones.
Definition at line 339 of file polyMesh.H. References Foam::faceList, Foam::label, Foam::labelList, and Foam::pointField. |
|
|
Return cell zone mesh.
Definition at line 299 of file polyMesh.H. References Foam::pointField, and Foam::pointZoneMesh. |
|
|
Clear addressing.
Reimplemented from primitiveMesh. |
|
|
Clear geometry.
Reimplemented from primitiveMesh. |
|
|
Clear all geometry and addressing unnecessary for CFD.
Reimplemented from primitiveMesh. |
|
|
Clear primitive data (points, faces and cells).
Reimplemented from primitiveMesh. |
|
|
Over-ride the objectRegistry dbDir. if this is single-region case Reimplemented from objectRegistry. |
|
|
Return the current instance directory for faces.
|
|
|
Return non-const access to the faceZones.
Definition at line 333 of file polyMesh.H. |
|
|
Return face zone mesh.
Definition at line 293 of file polyMesh.H. |
|
|
Return the local mesh directory (dbDir()/meshSubDir).
|
|
|
Move points, returns volumes swept by faces in motion.
|
|
|
Is mesh moving.
Definition at line 312 of file polyMesh.H. |
|
|
Return old mesh motion points.
|
|
|
Return parallel info.
Referenced by pointMesh::movePoints(). |
|
|
Return the current instance directory for points. Used in the consruction of gemometric mesh data dependent on points |
|
|
Return non-const access to the pointZones.
Definition at line 327 of file polyMesh.H. |
|
|
Return point zone mesh.
Definition at line 287 of file polyMesh.H. |
|
|
Update the mesh based on the mesh files saved in. time directories Reimplemented in fvMesh. |
|
|
Remove boundary patches.
|
|
|
Remove all files.
|
|
|
Reset motion.
|
|
||||||||||||||||||||||||||||||||||||
|
Reset mesh primitive data. Assumes all patch info correct. (so does e.g. parallel communication). If not use validBoundary=false (still assumes patchStarts[0] = nInternalFaces and last patch ends at nActiveFaces) and change patches with addPatches. |
|
|
Set the instance for mesh files.
|
|
|
Runtime type information.
|
|
|
Update the mesh corresponding to given map.
Reimplemented in fvMesh. |
|
|
Return the default region name.
Definition at line 194 of file polyMesh.H. |
|
|
Return the mesh sub-directory name (usually "polyMesh").
Definition at line 197 of file polyMesh.H. |