destroy_ga_dtint2d Subroutine

public subroutine destroy_ga_dtint2d(me)

Arguments

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

Called by

proc~~destroy_ga_dtint2d~~CalledByGraph proc~destroy_ga_dtint2d destroy_ga_dtint2d interface~destroy~13 destroy interface~destroy~13->proc~destroy_ga_dtint2d

Source Code

  subroutine destroy_ga_dtint2d(me)
    type(grw_dtint2darray_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_dtint2d