destroy_ga_box Subroutine

private subroutine destroy_ga_box(me)

Arguments

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

Called by

proc~~destroy_ga_box~~CalledByGraph proc~destroy_ga_box destroy_ga_box interface~destroy~28 destroy interface~destroy~28->proc~destroy_ga_box

Contents

Source Code


Source Code

  subroutine destroy_ga_box(me)
    type(grw_boxarray_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_box