destroy_ga_real Subroutine

public subroutine destroy_ga_real(me)

Arguments

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

Called by

proc~~destroy_ga_real~~CalledByGraph proc~destroy_ga_real destroy_ga_real interface~destroy~14 destroy interface~destroy~14->proc~destroy_ga_real

Contents

Source Code


Source Code

  subroutine destroy_ga_real(me)
    type(grw_realarray_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_real