(j3.2006) (SC22WG5.3762) Response on the TR29113 draft N1761
Aleksandar Donev
donev1 at llnl.gov
Mon Dec 8 16:52:14 EST 2008
On Monday 08 December 2008 13:45, Van Snyder wrote:
> I haven't worked out what one gets from this that one doesn't get
> from rank-remapping pointer assignment.
(Responding to J3 since was not sent to WG5)
What exactly does one get from rank-remapping pointer assignment for
assumed-rank dummies. You have a dummy DIMENSION(..). You want to point
a pointer of rank-2 to it--how??? Rank-remapping allows you to point a
higher rank pointer to a rank-1 array:
"It is possible to obtain different-rank views of parts of an object by
specifying upper bounds in pointer
assignment statements. This requires that the object be either rank one
or contiguous." (Note 7.48)
Did we somehow extend this to somehow cover assumed-rank dummies. An
example would be great.
Thanks,
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