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 881 for branches/dev_001_SBC/NEMO/LIM_SRC/limdia.F90 – NEMO

Ignore:
Timestamp:
2008-04-08T11:45:52+02:00 (16 years ago)
Author:
ctlod
Message:

dev_001_SBC: Step I: change cpp ket name key_ice_lim into key_lim2 & change names inside modules with extension _2, see ticket: #110

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev_001_SBC/NEMO/LIM_SRC/limdia.F90

    r717 r881  
    1 MODULE limdia 
     1MODULE limdia_2 
    22   !!====================================================================== 
    3    !!                       ***  MODULE limdia   *** 
     3   !!                       ***  MODULE limdia_2   *** 
    44   !!                      diagnostics of ice model  
    55   !!====================================================================== 
     
    88   !!             9.0  !  06-08  (S. Masson)  change frequency output control 
    99   !!------------------------------------------------------------------- 
    10 #if defined key_ice_lim 
    11    !!---------------------------------------------------------------------- 
    12    !!   'key_ice_lim' :                                   LIM sea-ice model 
    13    !!---------------------------------------------------------------------- 
    14    !!---------------------------------------------------------------------- 
    15    !!   lim_dia      : computation of the time evolution of keys var. 
    16    !!   lim_dia_init : initialization and namelist read 
     10#if defined key_lim2 
     11   !!---------------------------------------------------------------------- 
     12   !!   'key_lim2' :                                  LIM 2.0 sea-ice model 
     13   !!---------------------------------------------------------------------- 
     14   !!---------------------------------------------------------------------- 
     15   !!   lim_dia_2      : computation of the time evolution of keys var. 
     16   !!   lim_dia_init_2 : initialization and namelist read 
    1717   !!---------------------------------------------------------------------- 
    1818   USE phycst          !  
    19    USE par_ice         ! ice parameters 
     19   USE par_ice_2       ! ice parameters 
    2020   USE ice_oce         ! ice variables 
    2121   USE sbc_oce         ! surface boundary condition variables 
    2222   USE daymod          ! 
    23    USE dom_ice         ! 
    24    USE ice             ! 
    25    USE limistate       ! 
     23   USE dom_ice_2       ! 
     24   USE ice_2           ! 
     25   USE limistate_2     ! 
    2626   USE in_out_manager  ! I/O manager 
    2727 
     
    2929   PRIVATE 
    3030 
    31    PUBLIC               lim_dia            ! called by ice_step 
     31   PUBLIC               lim_dia_2          ! called by sbc_ice_lim_2 
    3232   INTEGER, PUBLIC ::   ntmoy   = 1 ,   &  !: instantaneous values of ice evolution or averaging ntmoy 
    3333      &                 ninfo   = 1        !: frequency of ouputs on file ice_evolu in case of averaging 
     
    6565CONTAINS 
    6666 
    67    SUBROUTINE lim_dia( kt ) 
     67   SUBROUTINE lim_dia_2( kt ) 
    6868      !!-------------------------------------------------------------------- 
    69       !!                  ***  ROUTINE lim_dia  *** 
     69      !!                  ***  ROUTINE lim_dia_2  *** 
    7070      !!    
    7171      !! ** Purpose : Computation and outputs on file ice.evolu  
     
    8383      !!------------------------------------------------------------------- 
    8484 
    85       IF( kt == nit000 )   CALL lim_dia_init   ! initialisation of ice_evolu file       
     85      IF( kt == nit000 )   CALL lim_dia_init_2  ! initialisation of ice_evolu file       
    8686 
    8787      ! computation of key variables at each time step    
     
    163163       ENDIF 
    164164       ! 
    165     END SUBROUTINE lim_dia 
     165    END SUBROUTINE lim_dia_2 
    166166  
    167167 
    168     SUBROUTINE lim_dia_init 
     168    SUBROUTINE lim_dia_init_2 
    169169       !!------------------------------------------------------------------- 
    170        !!                  ***  ROUTINE lim_dia_init  *** 
     170       !!                  ***  ROUTINE lim_dia_init_2  *** 
    171171       !!              
    172172       !! ** Purpose : Preparation of the file ice_evolu for the output of 
     
    191191       IF(lwp) THEN 
    192192          WRITE(numout,*) 
    193           WRITE(numout,*) 'lim_dia_init : ice parameters for ice diagnostics ' 
    194           WRITE(numout,*) '~~~~~~~~~~~~' 
     193          WRITE(numout,*) 'lim_dia_init_2 : ice parameters for ice diagnostics ' 
     194          WRITE(numout,*) '~~~~~~~~~~~~~~' 
    195195          WRITE(numout,*) '   format of the output values                                 fmtinf = ', fmtinf 
    196196          WRITE(numout,*) '   number of variables written in one line                     nfrinf = ', nfrinf  
     
    2752751111   FORMAT( 3(F7.1,1X,F7.3,1X),I3,A )   
    276276      ! 
    277     END SUBROUTINE lim_dia_init 
     277    END SUBROUTINE lim_dia_init_2 
    278278 
    279279#else 
    280280   !!---------------------------------------------------------------------- 
    281    !!   Default option :                               NO LIM sea-ice model 
     281   !!   Default option :                           NO LIM 2.0 sea-ice model 
    282282   !!---------------------------------------------------------------------- 
    283283CONTAINS 
    284    SUBROUTINE lim_dia         ! Empty routine 
    285    END SUBROUTINE lim_dia 
     284   SUBROUTINE lim_dia_2         ! Empty routine 
     285   END SUBROUTINE lim_dia_2 
    286286#endif 
    287287 
    288288   !!====================================================================== 
    289 END MODULE limdia 
     289END MODULE limdia_2 
Note: See TracChangeset for help on using the changeset viewer.