safe_dealloc Subroutine

public subroutine safe_dealloc(info)

Arguments

Type IntentOptional Attributes Name
type(ESMF_Info), intent(inout), allocatable :: info(:)

Calls

proc~~safe_dealloc~~CallsGraph proc~safe_dealloc safe_dealloc proc~deallocate_destroy deallocate_destroy proc~safe_dealloc->proc~deallocate_destroy proc~destroy_all destroy_all proc~deallocate_destroy->proc~destroy_all ESMF_InfoDestroy ESMF_InfoDestroy proc~destroy_all->ESMF_InfoDestroy

Called by

proc~~safe_dealloc~~CalledByGraph proc~safe_dealloc safe_dealloc proc~test_get_num_levels test_get_num_levels proc~test_get_num_levels->proc~safe_dealloc proc~test_get_ungridded_dims test_get_ungridded_dims proc~test_get_ungridded_dims->proc~safe_dealloc proc~test_get_vertical_dim_spec_names test_get_vertical_dim_spec_names proc~test_get_vertical_dim_spec_names->proc~safe_dealloc

Source Code

   subroutine safe_dealloc(info)
      type(ESMF_Info), allocatable, intent(inout) :: info(:)
      if(allocated(info)) call deallocate_destroy(info)
   end subroutine safe_dealloc