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
7 changes: 3 additions & 4 deletions examples/halo_test/exchange_test.f90
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ subroutine test_exchange(orientation)
print *, "ERROR: Unknow orientation "//orientation//" test is broken!"
stop
end if


orientation_passing = .true.
do nlevels = 1, 3
levels=(/ xhalo * nlevels, yhalo * nlevels, zhalo * nlevels /)

Expand Down Expand Up @@ -130,14 +131,12 @@ subroutine check(starts, ends, sizes, levels, u, passing)

integer, dimension(3), intent(in) :: starts, ends, sizes, levels
real(mytype), dimension(:,:,:), intent(in) :: u
logical, intent(out) :: passing
logical, intent(inout) :: passing

integer :: is, ie, js, je, ks, ke
integer :: i, j, k
integer :: io, jo, ko
integer :: idx

passing = .true.

call valid_range(starts(1), ends(1), sizes(1), nx, levels(1), is, ie)
call valid_range(starts(2), ends(2), sizes(2), ny, levels(2), js, je)
Expand Down