rk_19
Structural
- Aug 7, 2012
- 71
Depending on a generated integer 'n' in the program during its execution, i require variables of type k1, k2, k3....kn to be generated in the program. is it possible in fortran - I know allocatable arrays is an option - I have to just declare 'k' as an allocatable 1d array. but my elements in k1, k2..kn are 2d allocatable matrices.. so is it possible to store a 2d array as an element in a 1d array? thanks,