4 subroutine reclam (index, nwords)
17 implicit double precision (a-h,o-z)
25 if (
lfree(i,1) .gt. index)
go to 30
29 902
format(
' no insertion pointer into freelist. error stop')
35 if (
lfree(iprev,1)+
lfree(iprev,2) .lt. index)
go to 40
41 40 nexti = index + nwords
42 if (
lfree(iplace,1).ne. nexti)
go to 70
43 lfree(iplace,1) = index
49 50 nexti = index + nwords
50 if (
lfree(iplace,1) .ne. nexti)
go to 99
65 do 80 ii = iplace,
lenf 66 i =
lenf + 1 - ii + iplace
70 lfree(iplace,1) = index
71 lfree(iplace,2) = nwords
76 901
format(
' free list full with ',i5,
' items')
81 100
format(
' reclaiming ',i8,
' words at loc. ',i8,
' lentot ',i10)
subroutine reclam(index, nwords)
integer, parameter outunit
integer, dimension(lfdim, 2) lfree
The module contains the definition of a "node descriptor" as well as other global variables used duri...