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

Function calcAddressing

src/sampling/meshToMesh/meshToMesh.C:230–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228
229
230void Foam::meshToMesh::calcAddressing
231(
232 const word& methodName,
233 const polyMesh& src,
234 const polyMesh& tgt
235)
236{
237 autoPtr<meshToMeshMethod> methodPtr
238 (
239 meshToMeshMethod::New
240 (
241 methodName,
242 src,
243 tgt
244 )
245 );
246
247 methodPtr->calculate
248 (
249 srcToTgtCellAddr_,
250 srcToTgtCellWght_,
251 tgtToSrcCellAddr_,
252 tgtToSrcCellWght_
253 );
254
255 V_ = methodPtr->V();
256
257 if (debug)
258 {
259 methodPtr->writeConnectivity(src, tgt, srcToTgtCellAddr_);
260 }
261}
262
263
264void Foam::meshToMesh::calculate(const word& methodName)

Callers 10

calculateFunction · 0.70
PrimitivePatch.CFile · 0.50
pointMapper.CFile · 0.50
pointPatchMapper.CFile · 0.50
cellMapper.CFile · 0.50
faceMapper.CFile · 0.50

Calls 3

meshToMeshMethodClass · 0.85
writeConnectivityMethod · 0.80
VMethod · 0.45

Tested by

no test coverage detected