MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / clearGeom

Function clearGeom

src/OpenFOAM/meshes/polyMesh/polyMeshClear.C:53–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
52
53void Foam::polyMesh::clearGeom()
54{
55 if (debug)
56 {
57 InfoInFunction << "Clearing geometric data" << endl;
58 }
59
60 // Clear all geometric mesh objects
61 meshObject::clear<pointMesh, GeometricMeshObject>(*this);
62 meshObject::clear<polyMesh, GeometricMeshObject>(*this);
63
64 primitiveMesh::clearGeom();
65
66 boundary_.clearGeom();
67
68 // Reset valid directions (could change with rotation)
69 geometricD_ = Zero;
70 solutionD_ = Zero;
71
72 // Remove the cell tree
73 cellTreePtr_.clear();
74}
75
76
77void Foam::polyMesh::clearAddressing(const bool isMeshUpdate)

Callers 2

polyMeshIO.CFile · 0.70
clearOutFunction · 0.70

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected