- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks once again.
I have found the page now for the manual, I had a suspicion that there was more than just the address being stored in the pointer. So I guess that we can save some memory overhead by using just the cray pointer (c-type) pointers (if this is possible).
Thankyou for the speedy responses!
Ben
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't understand why the F95 pointer to an array or structure needs to contain all that information. Why don't all the pointers contain just the starting address of the data like the pointer to a scalar variable does?
Mike D.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Because F90 pointer 1) may be non-contiguous (pointing to an array section) 2) has a well-definedsize and shapewhich can be queried using SIZE, SHAPE or other intrinsics.
Jugoslav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have noticed a time penalty when pointing temporary pointers to defined ones, ie:
TT => TT(n)%AA
I am going to do some tests to see if I can use the cray pointer style to save both memory and time, considering that we do not use the intrinsic functions (SIZE etc) as mentioned above.
Ben

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page