1 parent c304b37 commit 6d7f39cCopy full SHA for 6d7f39c
1 file changed
src/simulation/m_compute_levelset.fpp
@@ -239,7 +239,7 @@ contains
239
xyz_local = matmul(inverse_rotation, xyz_local) ! rotate the frame into the IB's coordinates
240
xyz_local = xyz_local - offset ! airfoils are a patch that require a centroid offset
241
242
- if (xyz_local(2) >= center(2)) then
+ if (xyz_local(2) >= 0._wp) then
243
do k = 1, Np
244
dist_vec(1) = xyz_local(1) - airfoil_grid_u(k)%x
245
dist_vec(2) = xyz_local(2) - airfoil_grid_u(k)%y
0 commit comments