开发者

Save values of an array at Fortran 90 program

开发者 https://www.devze.com 2023-02-19 06:40 出处:网络
I have a two-dimensional and 1-D arrays of different variables of a system which characterize an Equilibrium state of the system from where the next configurations going to evolve from. Now i need to

I have a two-dimensional and 1-D arrays of different variables of a system which characterize an Equilibrium state of the system from where the next configurations going to evolve from. Now i need to save the data in these arrays at the 开发者_开发百科specific situation and proceed, so how should i write on the declaration (the syntax) of the main program and also in the subroutine which use these arrays to be delivered to them by adjustable-size array method of passing arrays?


Uuugh, sorry, but I'm not quite clear on what you are asking.

Are you interested in the SAVE statement, which enables a variable to retain its previous state, once for example, a subroutine is called again?

0

精彩评论

暂无评论...
验证码 换一张
取 消