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

Function meshCentre

applications/test/router/Test-processorRouter.C:87–90  ·  view source on GitHub ↗

Calculate some average position for mesh.

Source from the content-addressed store, hash-verified

85
86// Calculate some average position for mesh.
87point meshCentre(const polyMesh& mesh)
88{
89 return average(mesh.points());
90}
91
92
93// Main program:

Callers 1

mainFunction · 0.85

Calls 1

pointsMethod · 0.45

Tested by

no test coverage detected