I have something like this -
type output
real(kind=8) :: array1(10,20,30)
real(kind=8) :: array2(10,20,4)
end type output
type (output),save, dimension(54) :: array_o
Also, I have something like this -
type output_pointer
real(kind=8),pointer :: array1(:,:,:)
real(kind=8),pointer :: array2(:,:,:)
end type output_pointer
type (output),save, dimension(54) :: array_pointer
Are these permissible in fortran? I am getting no build error but I am getting runtime error.