libsim  Versione 7.2.1

◆ grid_transform_delete()

subroutine grid_transform_class::grid_transform_delete ( type(grid_transform), intent(inout)  this)
private

Destructor of grid_tranform object.

It releases any memory and data associated to grid_transform object this, the logger category will be deleted too.

Parametri
[in,out]thisgrid_transform object

Definizione alla linea 2999 del file grid_transform_class.F90.

3000  CALL raise_error()
3001  RETURN
3002  ENDIF
3003 
3004  IF (innx /= outnx .OR. inny /= outny) THEN
3005  CALL l4f_category_log(this%category,l4f_error,"vertical interpolation")
3006  CALL l4f_category_log(this%category,l4f_error,"inconsistent hor. sizes: "//&
3007  t2c(innx)//","//t2c(inny)//" /= "//&
3008  t2c(outnx)//","//t2c(outny))
3009  CALL raise_error()
3010  RETURN
3011  ENDIF
3012 
3013 ELSE ! horizontal interpolation
3014 
3015  IF (innx /= this%innx .OR. inny /= this%inny) THEN
3016  CALL l4f_category_log(this%category,l4f_error,"horizontal interpolation")
3017  CALL l4f_category_log(this%category,l4f_error,"inconsistent input shape: "//&
3018  t2c(this%innx)//","//t2c(this%inny)//" /= "//&
3019  t2c(innx)//","//t2c(inny))
3020  CALL raise_error()
3021  RETURN
3022  ENDIF
3023 
3024  IF (outnx /= this%outnx .OR. outny /= this%outny) THEN
3025  CALL l4f_category_log(this%category,l4f_error,"horizontal interpolation")
3026  CALL l4f_category_log(this%category,l4f_error,"inconsistent output shape: "//&
3027  t2c(this%outnx)//","//t2c(this%outny)//" /= "//&
3028  t2c(outnx)//","//t2c(outny))
3029  CALL raise_error()
3030  RETURN
3031  ENDIF
3032 
3033  IF (innz /= outnz) THEN
3034  CALL l4f_category_log(this%category,l4f_error,"horizontal interpolation")
3035  CALL l4f_category_log(this%category,l4f_error,"inconsistent vert. sizes: "//&
3036  t2c(innz)//" /= "//t2c(outnz))
3037  CALL raise_error()
3038  RETURN

Generated with Doxygen.