front()
, back()
, push_back()
etc that are commonly used in the STL containers. This should help with swapping code between OpenFOAM and other projects and (in the future) make the code easier to read for newcomers.dist()
and distSqr()
methods for differences. This avoids intermediate variables and looping (should be more cache friendly).cellBb
to return the boundBox of a mesh cell. Uses cached cellPoints (if available) or calculates from the face points. Eliminates similar code fragments that were scattered about the codeChanges were originally rolled into MR !568 (merged), but grew too large for that.