Dear Malcolm!
Thank you very much for your reply. I feared that this it is not
possible. Such a feature would have been too nice.
Well, the approach of using a container type appears a little clumsy
to me. Doesn't this contradict the idea of elemental procedures? From
my point of view it is not possible coding something like
CALL ab_obj(:)%val%some_elemental_subroutine(...)
At least gfortran throes a compiler error.
Anyways, I rethought my problem and came up with a better solution
which actually borrows the idea of having a container type. Nice
suggestion, thanks again for your help.
Cheers,
Stefan
|