Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ subroutine w3_to_w2_correction_code( &
! Add contribution to the averaged W2 field. Factor of 0.5 as there
! is a contribution from each face
field_w2(map_w2(face)+k) = field_w2(map_w2(face)+k) - &
0.5_r_def * gradient * displacement(map_w2h_2d(face)+k)
0.5_r_def * gradient * displacement(map_w2h_2d(face))
end do

else
Expand All @@ -210,7 +210,7 @@ subroutine w3_to_w2_correction_code( &
! Add contribution to the averaged W2 field. Factor of 0.5 as there
! is a contribution from each face
field_w2(map_w2(face)+k) = field_w2(map_w2(face)+k) - &
0.5_r_def * gradient * displacement(map_w2h_2d(face)+k)
0.5_r_def * gradient * displacement(map_w2h_2d(face))
end do
end if
end if
Expand Down