Hello,
Continuing with questions about F2x:
I had thought that parametrized data-types were meant to be completely
"resolvable" at compile-time, meaning that the type:
type :: point(dim)
real :: coords(dim)
end type point
contains no information internally about dim, but rather this is all
determined by the compiler at compile time (as for, say, explicit shape
dummy argument arrays).
But then I keep seing in the draft references to an "assumed non-kind
type parameter" (meaning declared with *) for dummy arguments of derived
type. I did not see an example of this, and am now confused on how this
works and what it means in terms of actual implementation. Can someone
direct me please? It is rather hard to read the standard and understand
it unless one already has an idea of what the creators were trying to
say (and then just fill in all the details, syntax, restrictions,
etc.)...
Thanks,
Aleksandar
--
__________________________________
Aleksandar Donev
Complex Materials Theory Group (http://cherrypit.princeton.edu/)
Princeton Materials Institute & Program in Applied and Computational Mathematics
@ Princeton University
Address:
419 Bowen Hall, 70 Prospect Avenue
Princeton University
Princeton, NJ 08540-5211
E-mail: [log in to unmask]
WWW: http://atom.princeton.edu/donev
Phone: (609) 258-2775
Fax: (609) 258-6878
__________________________________
|