destroy_ga_long Subroutine

public subroutine destroy_ga_long(me)

Arguments

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

Called by

proc~~destroy_ga_long~~CalledByGraph proc~destroy_ga_long destroy_ga_long interface~destroy~12 destroy interface~destroy~12->proc~destroy_ga_long

Contents

Source Code


Source Code

  subroutine destroy_ga_long(me)
    type(grw_longarray_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_long