- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For some reason, IVF (10.1.14) has decided that the first assignment in the below is an access violation:
Allocate(MultizoneSurfaceStdConditionsCrackData(0))
=> MultizoneSurfaceStdConditionsCrackData(0)%Name='*'
MultizoneSurfaceStdConditionsCrackData(0)%StandardT=20.d0
MultizoneSurfaceStdConditionsCrackData(0)%StandardP=101325.d0
MultizoneSurfaceStdConditionsCrackData(0)%StandardW=0.0d0
I have fixed it (for now) by:
Allocate(MultizoneSurfaceStdConditionsCrackData(0:1))
But am wondering why. CVF likes it. g95 likes it.
Linda
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I wonder why CVF and g95 like it. You allocated the array with bounds (1:0) which means it is empty.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page