mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 05:05:30 -04:00
Got rid of all but 16 leaked bytes for the basic model.
This commit is contained in:
parent
e8e30148a8
commit
bec1e1bb1b
7 changed files with 4087 additions and 647 deletions
File diff suppressed because it is too large
Load diff
3470
examples/basic/valgrind_intel1_errors.txt
Normal file
3470
examples/basic/valgrind_intel1_errors.txt
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -165,6 +165,10 @@ contains
|
|||
if (allocated(mat % sab_names)) deallocate(mat % sab_names)
|
||||
|
||||
end do MATERIAL_LOOP2
|
||||
|
||||
! Avoid some valgrind leak errors
|
||||
call already_read % clear()
|
||||
|
||||
end subroutine read_xs
|
||||
|
||||
!===============================================================================
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -428,5 +428,5 @@ contains
|
|||
end do
|
||||
|
||||
end function dict_keys_ii
|
||||
|
||||
|
||||
end module dict_header
|
||||
|
|
|
|||
|
|
@ -420,7 +420,7 @@ contains
|
|||
call active_tracklength_tallies % clear()
|
||||
call active_current_tallies % clear()
|
||||
call active_tallies % clear()
|
||||
|
||||
|
||||
end subroutine free_memory
|
||||
|
||||
end module global
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@ contains
|
|||
index_cell_in_univ(i_univ) = index_cell_in_univ(i_univ) + 1
|
||||
univ % cells(index_cell_in_univ(i_univ)) = i
|
||||
end do
|
||||
|
||||
|
||||
end subroutine prepare_universes
|
||||
|
||||
!===============================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue