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

Function clearAddressing

src/finiteVolume/fvMesh/fvMesh.C:124–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123
124void Foam::fvMesh::clearAddressing(const bool isMeshUpdate)
125{
126 if (debug)
127 {
128 InfoInFunction << "isMeshUpdate: " << isMeshUpdate << endl;
129 }
130
131 if (isMeshUpdate)
132 {
133 // Part of a mesh update. Keep meshObjects that have an updateMesh
134 // callback
135 meshObject::clearUpto
136 <
137 fvMesh,
138 TopologicalMeshObject,
139 UpdateableMeshObject
140 >
141 (
142 *this
143 );
144 meshObject::clearUpto
145 <
146 lduMesh,
147 TopologicalMeshObject,
148 UpdateableMeshObject
149 >
150 (
151 *this
152 );
153 }
154 else
155 {
156 meshObject::clear<fvMesh, TopologicalMeshObject>(*this);
157 meshObject::clear<lduMesh, TopologicalMeshObject>(*this);
158 }
159 deleteDemandDrivenData(lduPtr_);
160}
161
162
163void Foam::fvMesh::storeOldVol(const scalarField& V)

Callers 2

clearOutFunction · 0.70
updateMeshFunction · 0.70

Calls 1

deleteDemandDrivenDataFunction · 0.85

Tested by

no test coverage detected