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 863 for trunk/NEMO/LIM_SRC_3/limthd.F90 – NEMO

Ignore:
Timestamp:
2008-03-14T14:34:10+01:00 (16 years ago)
Author:
ctlod
Message:

Add control prints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/LIM_SRC_3/limthd.F90

    r834 r863  
    2929   USE par_ice 
    3030   USE limvar 
     31   USE prtctl          ! Print control 
    3132 
    3233   IMPLICIT NONE 
     
    4243         epsi06 = 1e-06   ,  & 
    4344         epsi04 = 1e-04   ,  & 
    44          zzero  = 0.e0     ,  & 
     45         zzero  = 0.e0     , & 
    4546         zone   = 1.e0 
    4647 
     
    473474 
    474475      IF ( con_i ) fbif(:,:) = fbif(:,:) + zqlbsbq(:,:) 
     476 
     477      IF(ln_ctl) THEN   ! Control print 
     478         CALL prt_ctl(tab2d_1=area , clinfo1=' lim_thd  : cell area :') 
     479         CALL prt_ctl(tab2d_1=at_i , clinfo1=' lim_thd  : at_i      :') 
     480         CALL prt_ctl(tab2d_1=vt_i , clinfo1=' lim_thd  : vt_i      :') 
     481         CALL prt_ctl(tab2d_1=vt_s , clinfo1=' lim_thd  : vt_s      :') 
     482         DO jl = 1, jpl 
     483            CALL prt_ctl_info(' - Category : ', ivar1=jl) 
     484            CALL prt_ctl_info('   ~~~~~~~~~~') 
     485            CALL prt_ctl(tab2d_1=a_i   (:,:,jl)   , clinfo1= ' lim_thd  : a_i      : ') 
     486            CALL prt_ctl(tab2d_1=ht_i  (:,:,jl)   , clinfo1= ' lim_thd  : ht_i     : ') 
     487            CALL prt_ctl(tab2d_1=ht_s  (:,:,jl)   , clinfo1= ' lim_thd  : ht_s     : ') 
     488            CALL prt_ctl(tab2d_1=v_i   (:,:,jl)   , clinfo1= ' lim_thd  : v_i      : ') 
     489            CALL prt_ctl(tab2d_1=v_s   (:,:,jl)   , clinfo1= ' lim_thd  : v_s      : ') 
     490            CALL prt_ctl(tab2d_1=e_s   (:,:,1,jl) , clinfo1= ' lim_thd  : e_s      : ') 
     491            CALL prt_ctl(tab2d_1=t_su  (:,:,jl)   , clinfo1= ' lim_thd  : t_su     : ') 
     492            CALL prt_ctl(tab2d_1=t_s   (:,:,1,jl) , clinfo1= ' lim_thd  : t_snow   : ') 
     493            CALL prt_ctl(tab2d_1=sm_i  (:,:,jl)   , clinfo1= ' lim_thd  : sm_i     : ') 
     494            CALL prt_ctl(tab2d_1=smv_i (:,:,jl)   , clinfo1= ' lim_thd  : smv_i    : ') 
     495            DO jk = 1, nlay_i 
     496               CALL prt_ctl_info(' - Layer : ', ivar1=jk) 
     497               CALL prt_ctl_info('   ~~~~~~~') 
     498               CALL prt_ctl(tab2d_1=t_i(:,:,jk,jl) , clinfo1= ' lim_thd  : t_i      : ') 
     499               CALL prt_ctl(tab2d_1=e_i(:,:,jk,jl) , clinfo1= ' lim_thd  : e_i      : ') 
     500            END DO 
     501         END DO 
     502 
     503      ENDIF 
    475504 
    476505   END SUBROUTINE lim_thd 
Note: See TracChangeset for help on using the changeset viewer.