(j3.2006) 08-267

Aleksandar Donev donev1
Tue Sep 23 17:59:05 EDT 2008


Hi Van,

> ? select type ( x[1] )
> ? type is ( my_extension )
> ? ? print *, x%more_stuff
> ? end select
That is a good point that we missed---we do safe type casts with SELECT TYPE 
but that acts as an ASSOCIATE construct and you are not allowed to use the 
coindexed selector here. I am not sure if it is worth trying to fix at this 
point, unless you have a proposed solution that is simple enough?

> ? call S ( x[1] )
That was by design---there is no concept of "remote argument association" so 
in reality this will likely involve a copy of a polymorphic object, which is 
what Jim objected to (due to implementation complexity and not some 
fundamental difficulty--we agreed that the implementation cost was not worth 
the benefit).

Best,
Aleks

-- 
Aleksandar Donev, Ph.D.
Lawrence Postdoctoral Fellow @ Lawrence Livermore National Laboratory
High Performance Computational Materials Science and Chemistry
E-mail: donev1 at llnl.gov
Phone: (925) 424-6816  Fax: (925) 423-0785
Address: P.O.Box 808, L-367, Livermore, CA 94551-9900
Web: http://cherrypit.princeton.edu/donev




More information about the J3 mailing list