STYLE: use cbrt() instead of pow(..,1.0/3.0) in a few more places

This commit is contained in:
Mark Olesen
2019-01-09 12:22:07 +01:00
parent 95d7586b48
commit 07a6e9d83d
22 changed files with 29 additions and 29 deletions

View File

@ -370,7 +370,7 @@ bool Foam::functionObjects::stabilityBlendingFactor::init(bool first)
auto& Co = CoPtr.ref();
Co.primitiveFieldRef() =
mesh_.time().deltaT()*mag(*UNamePtr)/pow(mesh_.V(), 1.0/3.0);
mesh_.time().deltaT()*mag(*UNamePtr)/cbrt(mesh_.V());
indicator_ =
max