Debian Codegraph @

loki/tests/sources/projA/module/kernelB_mod.F90

raw
1 module kernelB_mod
2 use header_mod, only: jprb
3 use compute_l1_mod, only: compute_l1
4 #ifdef HAVE_EXT_DRIVER_MODULE
5 use ext_driver_mod, only: ext_driver
6 #endif
7
8 implicit none
9
10 contains
11
12 subroutine kernelB(vector, matrix)
13 real(kind=jprb), intent(inout) :: vector(:)
14 real(kind=jprb), intent(inout) :: matrix(:)
15
16 #ifndef HAVE_EXT_DRIVER_MODULE
17 #include "ext_driver.intfb.h"
18 #endif
19
20 call compute_l1(vector)
21
22 call ext_driver(matrix)
23 end subroutine kernelB
24
25 end module kernelB_mod