-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move new routine 'ftst_fill_regional_halo' to utils.F90
to allow for using it in unit tests. Create simple unit test for that routine. Fixes #105
- Loading branch information
1 parent
1ec6689
commit f87f1f5
Showing
4 changed files
with
63 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
! Unit test for filter_topo routine "fill_regional_halo". | ||
! | ||
! Author Ratko Vasic | ||
|
||
program fill_halo | ||
|
||
use utils | ||
|
||
implicit none | ||
|
||
integer :: halo | ||
|
||
real, allocatable :: testdata(:,:,:) | ||
|
||
print*, "Starting test of filter_topo routine fill_regional_halo" | ||
|
||
call fill_regional_halo(testdata, halo) | ||
|
||
|
||
print*, "OK" | ||
print*, "SUCCESS!" | ||
|
||
end program fill_halo |