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

Function resetPrimitives

src/surfMesh/surfMesh/surfMesh.C:256–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
255
256void 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
277void Foam::surfMesh::transfer

Callers 2

agglomerateMeshFunction · 0.50
calcDualFunction · 0.50

Calls 3

checkZonesFunction · 0.85
clearGeomFunction · 0.70
resetFunction · 0.50

Tested by

no test coverage detected