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

Ignore:
Timestamp:
2008-06-13T17:23:36+02:00 (16 years ago)
Author:
rblod
Message:

Correct some prints in LIM3

File:
1 edited

Legend:

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

    r1055 r1112  
    185185         zx1 
    186186 
    187       WRITE(numout,*) 'lim_itd_ini : Initialization of ice thickness distribution ' 
    188       WRITE(numout,*) '~~~~~~~~~~~~' 
     187      IF(lwp) WRITE(numout,*) 'lim_itd_ini : Initialization of ice thickness distribution ' 
     188      IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~' 
    189189 
    190190      !!-- End of declarations 
     
    213213      END DO 
    214214 
    215       WRITE(numout,*) ' Number of ice types jpm =      ', jpm 
    216       WRITE(numout,*) ' Number of ice categories jpl = ', jpl 
    217       DO jm = 1, jpm 
    218          WRITE(numout,*) ' Ice type ', jm 
    219          WRITE(numout,*) ' Number of thickness categories ', ice_ncat_types(jm) 
    220          WRITE(numout,*) ' Thickness category boundaries  ', ice_cat_bounds(jm,1:2) 
    221       END DO 
    222       WRITE(numout,*) 'Ice type vector', ice_types(1:jpl) 
    223       WRITE(numout,*) 
     215      IF(lwp) THEN   
     216         WRITE(numout,*) ' Number of ice types jpm =      ', jpm 
     217         WRITE(numout,*) ' Number of ice categories jpl = ', jpl 
     218         DO jm = 1, jpm 
     219            WRITE(numout,*) ' Ice type ', jm 
     220            WRITE(numout,*) ' Number of thickness categories ', ice_ncat_types(jm) 
     221            WRITE(numout,*) ' Thickness category boundaries  ', ice_cat_bounds(jm,1:2) 
     222         END DO 
     223         WRITE(numout,*) 'Ice type vector', ice_types(1:jpl) 
     224         WRITE(numout,*) 
     225      ENDIF 
    224226 
    225227      !- Thickness categories boundaries  
     
    247249      END DO 
    248250 
    249       WRITE(numout,*) ' Thickness category boundaries independently of ice type ' 
    250       WRITE(numout,*) ' hi_max ', hi_max(0:jpl) 
    251  
    252       WRITE(numout,*) ' Thickness category boundaries inside ice types ' 
    253       DO jm = 1, jpm 
    254          WRITE(numout,*) ' Type number ', jm 
    255          WRITE(numout,*) ' hi_max_typ : ', hi_max_typ(0:ice_ncat_types(jm),jm) 
    256       END DO 
     251      IF(lwp) WRITE(numout,*) ' Thickness category boundaries independently of ice type ' 
     252      IF(lwp) WRITE(numout,*) ' hi_max ', hi_max(0:jpl) 
     253 
     254      IF(lwp) WRITE(numout,*) ' Thickness category boundaries inside ice types ' 
     255      IF(lwp) THEN  
     256         DO jm = 1, jpm 
     257            WRITE(numout,*) ' Type number ', jm 
     258            WRITE(numout,*) ' hi_max_typ : ', hi_max_typ(0:ice_ncat_types(jm),jm) 
     259         END DO 
     260      ENDIF 
    257261 
    258262      DO jl = 1, jpl 
Note: See TracChangeset for help on using the changeset viewer.