destroy_ga_sphere Subroutine

private subroutine destroy_ga_sphere(me)

Arguments

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

Called by

proc~~destroy_ga_sphere~~CalledByGraph proc~destroy_ga_sphere destroy_ga_sphere interface~destroy~31 destroy interface~destroy~31->proc~destroy_ga_sphere

Source Code

  subroutine destroy_ga_sphere(me)
    type(grw_spherearray_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_sphere