You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subroutine Find_Nearest_Wall_Cell in module Turbulence relies on function Distance. That makes it rather slow, since calculation of distance involves taking a square root n*n times. I believe functionality would be the same if one used Distance_Squared function, which doesn't take square root and would thus be much faster.
The text was updated successfully, but these errors were encountered:
Subroutine
Find_Nearest_Wall_Cell
in moduleTurbulence
relies on functionDistance
. That makes it rather slow, since calculation of distance involves taking a square root n*n times. I believe functionality would be the same if one usedDistance_Squared
function, which doesn't take square root and would thus be much faster.The text was updated successfully, but these errors were encountered: