Is there a way in Fortran to store a static array like this or something similar
Real*8,Save,Dimension( 1 : 3 ) :: z = ( / 1 , 0 , 0 /)
1
Error: Syntax error in expression at (1)
The problem is if I define the array like that, I get
Real*8,Save,Dimension( 1 : 3 ) :: z = ( / 1 , 0 , 0 /)
1
Error: Syntax error in expression at (1)
I would like to store this array in a subroutine which is called several times during the program execution, but I do not want to initialise this array over and over again for every subroutine call. How can I declare this array?