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

Function reset

src/meshTools/edgeMesh/edgeMesh.C:177–197  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175
176
177void Foam::edgeMesh::reset
178(
179 const Xfer<pointField>& pointLst,
180 const Xfer<edgeList>& edgeLst
181)
182{
183 // Take over new primitive data.
184 // Optimized to avoid overwriting data at all
185 if (notNull(pointLst))
186 {
187 points_.transfer(pointLst());
188 }
189
190 if (notNull(edgeLst))
191 {
192 edges_.transfer(edgeLst());
193
194 // connectivity likely changed
195 pointEdgesPtr_.clear();
196 }
197}
198
199
200void Foam::edgeMesh::transfer(edgeMesh& mesh)

Callers 8

distributeFunction · 0.50
DelaunayMesh.CFile · 0.50
distributeFunction · 0.50
moveFunction · 0.50
addFunction · 0.50
flipNormalsFunction · 0.50

Calls 2

transferMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected