FreeFem / FreeFem-sources

FreeFEM source code
https://freefem.org/
Other
770 stars 191 forks source link

Change all mesh variables to double precision (`Real4` -> `Real8`) #317

Closed cmd8 closed 1 month ago

cmd8 commented 1 month ago

This is not really a bug fix, but rather a suggestion for possible code improvement... Please feel free to dismiss. Why are single precision floating point integers used only sometimes? I have found at least one case where the previous (mixed single and double precision) workflow causes errors in mesh adaptation that are not encountered after this change.

sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
16.7% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud