mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use cbrt() instead of pow(..,1.0/3.0) in a few more places
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user