| 122 | |
| 123 | |
| 124 | void 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 | |
| 163 | void Foam::fvMesh::storeOldVol(const scalarField& V) |
no test coverage detected