deallocate all dispensable dynamic data structures and arrays
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_levelDesc_type), | intent(inout) | :: | levelDesc(:) |
the level descriptor |
subroutine tem_cleanupDependencyArrays( levelDesc ) ! --------------------------------------------------------------------------- !> the level descriptor type(tem_levelDesc_type) , intent(inout) :: levelDesc(:) ! --------------------------------------------------------------------------- integer :: iLevel ! --------------------------------------------------------------------------- do iLevel = 1,size(levelDesc) ! Kill empty fluid, ghost and halo lists call tem_halo_destroy( levelDesc(iLevel)%haloList ) call destroy( levelDesc(iLevel)%require ) end do end subroutine tem_cleanupDependencyArrays