type :: T_dArray
real , allocatable :: d(:)
end type T_dArray
Type( T_dArray ) , allocatable :: da(:)
Allocate( da(N))
Do i = 1 , N
Allocate( da(i)%d(m(i)) )
End Do
fcode 发表于 2022-3-14 08:14
[mw_shl_code=fortran,true]type :: T_dArray
real , allocatable :: d(:)
end type T_dArray
欢迎光临 Fortran Coder (http://bbs.fcode.cn/) | Powered by Discuz! X3.2 |