I have problem like this:real*4 apr1dsens(nmax,nfmax,ncmax)
apr1dsens(j,1,iprd),apr1dsens(j,2,iprd),apr1dsens(j,3,iprd),apr1dsens(j,4,iprd)
All have 420 numerical values.How to join them into single array?Can merge intinsic function be used for 4 arrays?I have tried like this but got some apsurd results:
do i=1,4
apr4sens(j,i,iprd)=apr1dsens(j,1,iprd)
apr4sens(j,i,iprd)=apr1dsens(j,2,iprd)
apr4sens(j,i,iprd)=apr1dsens(j,3,iprd)
apr4sens(j,i,iprd)=apr1dsens(j,4,iprd)
end do
apr1dsens(j,1,iprd),apr1dsens(j,2,iprd),apr1dsens(j,3,iprd),apr1dsens(j,4,iprd)
All have 420 numerical values.How to join them into single array?Can merge intinsic function be used for 4 arrays?I have tried like this but got some apsurd results:
do i=1,4
apr4sens(j,i,iprd)=apr1dsens(j,1,iprd)
apr4sens(j,i,iprd)=apr1dsens(j,2,iprd)
apr4sens(j,i,iprd)=apr1dsens(j,3,iprd)
apr4sens(j,i,iprd)=apr1dsens(j,4,iprd)
end do