32 subroutine trimbd(used,nrow,ncol,set,unset_rect)
37 integer,
intent(in) :: nrow, ncol
38 integer(kind=1),
intent(in) :: used(nrow,ncol)
41 logical,
intent(out) :: set
43 integer,
intent(out) :: unset_rect(4)
47 integer(kind=1) ::
check
52 100 utot = utot + used(i,j)
54 if (utot .eq. nrow * ncol )
then
73 unset_rect(2) = nrow - i + 1
91 unset_rect(4) = ncol - j + 1
subroutine trimbd(used, nrow, ncol, set, unset_rect)
Examine the setting status of a patch.
subroutine check(nsteps, time, nvar, naux)