Got rid of all but 16 leaked bytes for the basic model.

This commit is contained in:
Adam Nelson 2013-04-03 16:01:22 -04:00
parent e8e30148a8
commit bec1e1bb1b
7 changed files with 4087 additions and 647 deletions

View file

@ -264,9 +264,11 @@ module ace_header
if (allocated(this % data)) &
deallocate(this % data)
if (associated(this % next)) &
if (associated(this % next)) then
! recursively clear this item
call this % next % clear()
nullify(this % next)
end if
end subroutine DistEnergy_clear
@ -281,8 +283,10 @@ module ace_header
if (allocated(this % sigma)) &
deallocate(this % sigma)
if (associated(this % edist)) &
if (associated(this % edist)) then
call this % edist % clear()
deallocate(this % edist)
end if
call this % adist % clear()