destroy_ga2d_real Subroutine

public subroutine destroy_ga2d_real(me)

destroy the 2d growing array

Arguments

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

dynamic array to init


Source Code

  subroutine destroy_ga2d_real(me)
    ! --------------------------------------------------------------------------
    !> dynamic array to init
    type(grw_real2darray_type), intent(inout) :: me
    ! --------------------------------------------------------------------------

    deallocate(me%val)
    me%nvals  = 0
    me%containersize = 0

  end subroutine destroy_ga2d_real