STYLE: more consistent use of dimensioned Zero, scalar decimal points

- use scalar(0) instead of scalar(0.0) etc
This commit is contained in:
Mark Olesen
2018-07-13 10:28:48 +02:00
parent e9f0ebc730
commit 0304911921
54 changed files with 103 additions and 128 deletions

View File

@ -106,7 +106,7 @@ scalar getMergeDistance
args.readIfPresent("mergeTol", mergeTol);
const scalar writeTol =
Foam::pow(scalar(10.0), -scalar(IOstream::defaultPrecision()));
Foam::pow(scalar(10), -scalar(IOstream::defaultPrecision()));
Info<< "Merge tolerance : " << mergeTol << nl
<< "Write tolerance : " << writeTol << endl;