- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CALL READDATA2 (11,31,2)
CALL READDATA (11,11,3)
Unfortunately when I then write out my individual 2D arrays from my 3D array I seem to be getting some overflow of data from file C into file B. Obviously my reading or writing of data to/from the 3D array is incorrect.
I'd be verygrateful for any advice as to how I may :
read my three 2D data files to a single 3D array
write the individual 2Ddata back from the 3D array to text file.
I've been at this a couple of days now and got nowhere, so any help would be greatly appreciated.
Thank you,
Simon.
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
Markus,
Thank you for your reply. I will have a go at using MODULE, but for now I was hoping to simply useREAD and WRITE statementsto read my three 2D arrays into a single3D array. I'm a bit reluctant to use pointers to a large 2D array as for a multiblock grid having maybe 7 or more domains ofmaybe 300x300 cells eachthe size of the global 2D array will become very large.Also having to write code compatible withmy professor's F77 compilerprecludes the use of MODULE.
What I have to do for now is figure out the correct format of my READand WRITE statements.
Thank you,
Simon.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page