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

Function unsignIndex

src/mesh/blockMesh/blockMesh/blockMeshMergeFast.C:189–192  ·  view source on GitHub ↗

Reverse a signed index with the number of divisions

Source from the content-addressed store, hash-verified

187
188// Reverse a signed index with the number of divisions
189inline label unsignIndex(const label i, const label ni)
190{
191 return i >= 0 ? i : ni + i + 1;
192}
193
194// Return the mapped index
195inline label mapij(const int map, const label i, const label j)

Callers 1

facePointNFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected