1 subroutine prarr1( name, array, isize, ll)
18 character(len=*),
intent(in) :: name
19 real(r8),
dimension(*),
intent(in) :: array
20 integer(itm_i4),
intent(in) :: isize, ll
22 integer(itm_i4) :: iout, l, kstep, i, i0, is, k, kplus
23 character(len=100) :: ch_fm
33 ch_fm =
"(1x,8(1pe12.4,'(',0p,i2,')'))"
34 if ( isize >= 100 ) ch_fm =
"(1x,8(1pe11.4,'(',0p,i3,')'))"
36 ch_fm =
"(1x,8(f11.5,'(',i3,')'))"
39 ch_fm =
"(1x,5(1pe12.4,'(',0p,i2,')'))"
41 if ( isize >= 100 ) ch_fm =
"(1x,5(1pe11.4,'(',0p,i3,')'))"
43 ch_fm =
"(1x,5(f11.5,'(',i3,')'))"
54 if ( iout == 0 ) iout = 6
55 write(iout,
"(/1x,a/)") name
57 kplus = min(k + kstep - 1, is)
58 write(iout, ch_fm) (array(i), i - i0, i = k, kplus)
subroutine prarr1(name, array, isize, ll)