libsim  Versione8.0.0

◆ grid_transform_delete()

subroutine grid_transform_delete ( type(grid_transform), intent(inout)  this)

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 3050 del file grid_transform_class.F90.

3050  CALL raise_error()
3051  RETURN
3052  ENDIF
3053 
3054  IF (outnz /= this%outnz) THEN
3055  CALL l4f_category_log(this%category,l4f_error,"vertical interpolation")
3056  CALL l4f_category_log(this%category,l4f_error,"inconsistent output shape: "//&
3057  t2c(this%outnz)//" /= "//t2c(outnz))
3058  CALL raise_error()
3059  RETURN
3060  ENDIF
3061 
3062  IF (innx /= outnx .OR. inny /= outny) THEN
3063  CALL l4f_category_log(this%category,l4f_error,"vertical interpolation")
3064  CALL l4f_category_log(this%category,l4f_error,"inconsistent hor. sizes: "//&
3065  t2c(innx)//","//t2c(inny)//" /= "//&
3066  t2c(outnx)//","//t2c(outny))
3067  CALL raise_error()
3068  RETURN
3069  ENDIF
3070 
3071 ELSE ! horizontal interpolation
3072 
3073  IF (innx /= this%innx .OR. inny /= this%inny) THEN
3074  CALL l4f_category_log(this%category,l4f_error,"horizontal interpolation")
3075  CALL l4f_category_log(this%category,l4f_error,"inconsistent input shape: "//&
3076  t2c(this%innx)//","//t2c(this%inny)//" /= "//&
3077  t2c(innx)//","//t2c(inny))
3078  CALL raise_error()
3079  RETURN
3080  ENDIF
3081 
3082  IF (outnx /= this%outnx .OR. outny /= this%outny) THEN
3083  CALL l4f_category_log(this%category,l4f_error,"horizontal interpolation")
3084  CALL l4f_category_log(this%category,l4f_error,"inconsistent output shape: "//&
3085  t2c(this%outnx)//","//t2c(this%outny)//" /= "//&
3086  t2c(outnx)//","//t2c(outny))
3087  CALL raise_error()
3088  RETURN

Generated with Doxygen.