destroy_ga_stencilheader Subroutine

private subroutine destroy_ga_stencilheader(me)

Arguments

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

Called by

proc~~destroy_ga_stencilheader~~CalledByGraph proc~destroy_ga_stencilheader destroy_ga_stencilheader interface~destroy~2 destroy interface~destroy~2->proc~destroy_ga_stencilheader

Source Code

  subroutine destroy_ga_stencilheader(me)
    type(grw_stencilheaderarray_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_stencilheader