mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- appears to hit single precision overflow with clang-15 in face::center(), cellModel::center() and blockMesh createPoints(). The blockMesh might be particularly sensitive, since the points are frequently defined in millimeters (scaled later), which results in large intermediate summations. Similar to primitiveMesh checks, use double precision for these calculations. ENH: support vector += and -= from compatible types - eg, doubleVector += floatVector is now supported. This streamlines some coding for mixed precision. - To avoid lots of boilerplate, do not yet attempt to support general operations such as `operator+(doubleVector, floatVector)` until they become necessary.