destroy_ga_cylinder Subroutine

private subroutine destroy_ga_cylinder(me)

Arguments

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

Called by

proc~~destroy_ga_cylinder~~CalledByGraph proc~destroy_ga_cylinder destroy_ga_cylinder interface~destroy destroy interface~destroy->proc~destroy_ga_cylinder

Source Code

  subroutine destroy_ga_cylinder(me)
    type(grw_cylinderarray_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_cylinder