| ! The array specification of PP in OL_EVAL used to be rejected in the submodule |
| ! because the compiler was not able to see the host-association of N_EXTERNAL |
| ! Contributed by JΓΌrgen Reuter <juergen.reuter@desy.de>. |
| use, intrinsic :: iso_c_binding |
| integer :: N_EXTERNAL = 0 |
| procedure :: set_n_external => t1_set_n_external |
| subroutine ol_eval (id, pp, emitter) bind(C) |
| real(kind = c_double), intent(in) :: pp(5 * N_EXTERNAL) |
| module subroutine t1_set_n_external (object, n) |
| class(t1_t), intent(inout) :: object |
| end subroutine t1_set_n_external |
| module subroutine t1_set_n_external (object, n) |
| class(t1_t), intent(inout) :: object |
| end subroutine t1_set_n_external |