| 254 | // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // |
| 255 | |
| 256 | void Foam::surfMesh::resetPrimitives |
| 257 | ( |
| 258 | const Xfer<pointField>& points, |
| 259 | const Xfer<faceList>& faces, |
| 260 | const Xfer<surfZoneList>& zones, |
| 261 | const bool validate |
| 262 | ) |
| 263 | { |
| 264 | // Clear addressing. |
| 265 | MeshReference::clearGeom(); |
| 266 | |
| 267 | Allocator::reset(points, faces, zones); |
| 268 | this->updateRefs(); |
| 269 | |
| 270 | if (validate) |
| 271 | { |
| 272 | checkZones(); |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | |
| 277 | void Foam::surfMesh::transfer |
no test coverage detected