destroy_ga_dynlong Subroutine

public subroutine destroy_ga_dynlong(me)

Arguments

Type IntentOptional Attributes Name
type(grw_dynlongarray_type), intent(inout) :: me

Called by

proc~~destroy_ga_dynlong~~CalledByGraph proc~destroy_ga_dynlong destroy_ga_dynlong interface~destroy~12 destroy interface~destroy~12->proc~destroy_ga_dynlong proc~tem_halo_destroy tem_halo_destroy proc~tem_halo_destroy->interface~destroy~12 proc~identify_lists identify_lists proc~identify_lists->proc~tem_halo_destroy proc~tem_cleanupdependencyarrays tem_cleanupDependencyArrays proc~tem_cleanupdependencyarrays->proc~tem_halo_destroy proc~communicate_elements communicate_elements proc~communicate_elements->proc~identify_lists proc~tem_create_leveldesc tem_create_levelDesc proc~tem_create_leveldesc->proc~tem_cleanupdependencyarrays proc~tem_find_allelements tem_find_allElements proc~tem_find_allelements->proc~identify_lists proc~tem_find_allelements->proc~tem_cleanupdependencyarrays

Source Code

  subroutine destroy_ga_dynlong(me)
    type(grw_dynlongarray_type), intent(inout) :: me !< dynamic array to destroy

    me%containersize = 0
    me%nvals = 0
    if( allocated( me%val ) ) deallocate(me%val)

  end subroutine destroy_ga_dynlong