destroy_ga_triangle Subroutine

private subroutine destroy_ga_triangle(me)

Arguments

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

Called by

proc~~destroy_ga_triangle~2~~CalledByGraph proc~destroy_ga_triangle~2 destroy_ga_triangle interface~destroy~39 destroy interface~destroy~39->proc~destroy_ga_triangle~2

Contents

Source Code


Source Code

  subroutine destroy_ga_triangle(me)
    type(grw_trianglearray_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_triangle