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

Function facePointN

src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C:229–243  ·  view source on GitHub ↗

Return the neighbour face point from the signed indices

Source from the content-addressed store, hash-verified

227
228// Return the neighbour face point from the signed indices
229inline label facePointN
230(
231 const block& block,
232 const label i,
233 const label j,
234 const label k
235)
236{
237 return block.pointLabel
238 (
239 unsignIndex(i, block.density().x()),
240 unsignIndex(j, block.density().y()),
241 unsignIndex(k, block.density().z())
242 );
243}
244
245// Return the neighbour face point from the mapped indices
246inline label facePointN

Callers 1

calcMergeInfoFastFunction · 0.85

Calls 6

unsignIndexFunction · 0.85
mapijFunction · 0.85
pointLabelMethod · 0.80
xMethod · 0.45
yMethod · 0.45
zMethod · 0.45

Tested by

no test coverage detected