Skip to content

Commit 0158864

Browse files
committed
Move Vdist_low update inside if statement in LowResGridCalcOutput
1 parent 4de93f3 commit 0158864

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

modules/awae/src/AWAE.f90

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -606,16 +606,12 @@ subroutine LowResGridCalcOutput(n, u, p, xd, y, m, errStat, errMsg)
606606
Vdist_low_full = Vdist_low_full + V_qs + WAT_V
607607
end if
608608
end select
609+
610+
! Update disturbed velocity fields from local values
611+
m%Vdist_low(:,ix,iy,iz) = Vdist_low
612+
m%Vdist_low_full(:,ix,iy,iz) = Vdist_low_full
609613

610614
end if ! (n_wake > 0)
611-
612-
! Update disturbed velocity fields from local values
613-
m%Vdist_low(:,ix,iy,iz) = Vdist_low
614-
m%Vdist_low_full(:,ix,iy,iz) = Vdist_low_full
615-
616-
! Set chunk as updated
617-
! m%LowResChunkHasWake(c_dst) = .true.
618-
619615
end do ! iXYZ, loop NumGrid_low points
620616
end do
621617

0 commit comments

Comments
 (0)