destroy_ga_varop Subroutine

public subroutine destroy_ga_varop(me)

Arguments

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

Called by

proc~~destroy_ga_varop~~CalledByGraph proc~destroy_ga_varop destroy_ga_varop interface~destroy~3 destroy interface~destroy~3->proc~destroy_ga_varop

Source Code

  subroutine destroy_ga_varop(me)
    type(grw_varoparray_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_varop