4 ! Contributed by Damian Rouson <damian@rouson.net>
8 type ,abstract :: object
10 procedure(assign_interface) ,deferred :: assign
11 generic :: assignment(=) => assign
15 subroutine assign_interface(lhs,rhs)
17 class(object) ,intent(inout) :: lhs
18 class(object) ,intent(in) :: rhs
23 ! Contributed by Juergen Reuter <reuter@physik.uni-freiburg.de>
25 type, abstract :: cuba_abstract_type
27 real, dimension(:), allocatable :: integral
28 end type cuba_abstract_type
32 subroutine cuba_abstract_alloc_dim_f(this)
33 class(cuba_abstract_type) :: this
34 allocate(this%integral(this%dim_f))
35 end subroutine cuba_abstract_alloc_dim_f