New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 2690 for branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_iso_grif.F90 – NEMO

Ignore:
Timestamp:
2011-03-15T16:27:46+01:00 (13 years ago)
Author:
gm
Message:

dynamic mem: #785 ; homogeneization of the coding style associated with dyn allocation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_iso_grif.F90

    r2636 r2690  
    9292      USE oce     , ONLY:   zftu => ua       , zftv => va            ! (ua,va) used as 3D workspace 
    9393      USE wrk_nemo, ONLY:   zdit => wrk_3d_1 , zdjt => wrk_3d_2 , ztfw => wrk_3d_3   ! 3D workspace 
    94       USE wrk_nemo, ONLY:   z2d  => wrk_2d_1                                          ! 2D workspace 
    95       !! 
     94      USE wrk_nemo, ONLY:   z2d  => wrk_2d_1                                         ! 2D workspace 
     95      ! 
    9696      INTEGER                              , INTENT(in   ) ::   kt         ! ocean time-step index 
    9797      CHARACTER(len=3)                     , INTENT(in   ) ::   cdtype     ! =TRA or TRC (tracer indicator) 
     
    101101      REAL(wp), DIMENSION(jpi,jpj,jpk,kjpt), INTENT(inout) ::   pta        ! tracer trend  
    102102      REAL(wp)                             , INTENT(in   ) ::   pahtb0     ! background diffusion coef 
    103       !! 
     103      ! 
    104104      INTEGER  ::  ji, jj, jk,jn   ! dummy loop indices 
    105105      INTEGER  ::  ip,jp,kp        ! dummy loop indices 
     
    114114      REAL(wp) ::   zah, zah_slp, zaei_slp 
    115115#if defined key_diaar5 
    116       REAL(wp)                         ::   zztmp              ! local scalar 
     116      REAL(wp) ::   zztmp              ! local scalar 
    117117#endif 
    118118      !!---------------------------------------------------------------------- 
    119119 
    120120      IF( wrk_in_use(3, 1,2,3) .OR. wrk_in_use(2, 1) ) THEN 
    121          CALL ctl_stop('tra_ldf_iso_grif : requested workspace arrays unavailable.')   ;   RETURN 
     121         CALL ctl_stop('tra_ldf_iso_grif: requested workspace arrays unavailable.')   ;   RETURN 
    122122      ENDIF 
    123123      ! ARP - line below uses 'bounds re-mapping' which is only defined in 
     
    348348      END DO 
    349349      ! 
    350       IF( wrk_not_released(3, 1,2,3,4) .OR. wrk_not_released(2, 1) )THEN 
    351          CALL ctl_stop('tra_ldf_iso_grif : failed to release workspace arrays.') 
    352       END IF 
     350      IF( wrk_not_released(3, 1,2,3,4) .OR.   & 
     351          wrk_not_released(2, 1)       )   CALL ctl_stop('tra_ldf_iso_grif: failed to release workspace arrays') 
    353352      ! 
    354353  END SUBROUTINE tra_ldf_iso_grif 
Note: See TracChangeset for help on using the changeset viewer.