4 ! The array specification of PP in OL_EVAL used to be rejected in the submodule
5 ! because the compiler was not able to see the host-association of N_EXTERNAL
8 ! Contributed by Jürgen Reuter <juergen.reuter@desy.de>.
11 use, intrinsic :: iso_c_binding
15 integer :: N_EXTERNAL
= 0
19 procedure
:: set_n_external
=> t1_set_n_external
23 subroutine ol_eval (id
, pp
, emitter
) bind(C
)
25 real(kind
= c_double
), intent(in
) :: pp(5 * N_EXTERNAL
)
26 end subroutine ol_eval
29 module subroutine t1_set_n_external (object
, n
)
30 class(t1_t
), intent(inout
) :: object
31 integer, intent(in
) :: n
32 end subroutine t1_set_n_external
40 module subroutine t1_set_n_external (object
, n
)
41 class(t1_t
), intent(inout
) :: object
42 integer, intent(in
) :: n
44 end subroutine t1_set_n_external