Good evening, everyone,
is the order of indices within an implied DO LOOP important, regarding performance?
Example: Order of icoun, jcoun, kcoun
ALLOCATE(bmatt(ndib1,ndib2,nlays))
! Assemble array bmatt - contains layerwise results
! Reshape is used, because implied DO LOOP returns 1D-array
bmatt=reshape([((assign_belem(...),jcoun=1,ndib1),kcoun=1,ndib2),icoun=1,nlays)],shape(bmatt))
Thanks!