destroy_ga_dynint Subroutine

public subroutine destroy_ga_dynint(me)

Arguments

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

Called by

proc~~destroy_ga_dynint~~CalledByGraph proc~destroy_ga_dynint destroy_ga_dynint interface~destroy destroy interface~destroy->proc~destroy_ga_dynint

Contents

Source Code


Source Code

  subroutine destroy_ga_dynint(me)
    type(grw_dynintarray_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_dynint