loki/tests/sources/projBatch/source/comp1.F90
raw| 1 | subroutine comp1 (arg, val) |
| 2 | use t_mod, only: t, nt1 |
| 3 | use header_mod |
| 4 | implicit none |
| 5 | type(t), intent(inout) :: arg |
| 6 | real(kind=k), intent(inout) :: val(:) |
| 7 | integer :: jnt1 |
| 8 | #include "comp2.intfb.h" |
| 9 | call arg%proc() |
| 10 | call comp2(arg, val) |
| 11 | call comp2(arg, val) ! Twice to check we're not duplicating dependencies |
| 12 | do jnt1=1,nt1 |
| 13 | call arg%no(jnt1)%way(.true.) |
| 14 | end do |
| 15 | end subroutine comp1 |