mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Update to Scalar
This commit is contained in:
@ -141,7 +141,7 @@ inline Scalar sqrtSumSqr(const Scalar a, const Scalar b)
|
||||
{
|
||||
Scalar maga = mag(a);
|
||||
Scalar magb = mag(b);
|
||||
|
||||
|
||||
if (maga > magb)
|
||||
{
|
||||
return maga*sqrt(1.0 + sqr(magb/maga));
|
||||
|
||||
Reference in New Issue
Block a user