Hello,
MATLAB has a wonderful command "save" which saves (all or some) the
variables in the worksheet. A simple "load" will later reinstate these
and one can continue where the previous session stopped. I am wondering
if someone has any tools/ideas of how to do this in Fortran (with any
changes in F2x--I know it adds IO for derived types).
In my codes I have big derived data types that contain a lot of arrays
(say ALLOCATABLE in F2x) and possibly other sub datatypes, or maybe even
pointers to other derived objects. It seems to me I need to write
separate IO routines for each such complicated type, and ALLOCATE all
arrays again manually and then read the data manually, etc. But if
someone has some better ideas, I would appreciate some pointers. Does
the new standard help in this respect and if yes, which sections should
I look at?
Thank you,
Aleksandar
--
__________________________________
Aleksandar Donev
Complex Materials Theory Group (http://cherrypit.princeton.edu/)
Princeton Materials Institute & Program in Applied and Computational Mathematics
@ Princeton University
Address:
419 Bowen Hall, 70 Prospect Avenue
Princeton University
Princeton, NJ 08540-5211
E-mail: [log in to unmask]
WWW: http://atom.princeton.edu/donev
Phone: (609) 258-2775
Fax: (609) 258-6878
__________________________________
|