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

Ignore:
Timestamp:
2008-03-06T12:22:15+01:00 (16 years ago)
Author:
rblod
Message:

Change name of modules and subroutines for LIM2 with suffix _2, add albedo_2 and flxblk_2, see ticket #71

File:
1 edited

Legend:

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

    r719 r821  
    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 daymod          ! 
    22    USE dom_ice         ! 
    23    USE ice             ! 
    24    USE limistate       ! 
     22   USE dom_ice_2       ! 
     23   USE ice_2           ! 
     24   USE limistate_2     ! 
    2525   USE in_out_manager  ! I/O manager 
    2626 
     
    2828   PRIVATE 
    2929 
    30    PUBLIC               lim_dia            ! called by ice_step 
     30   PUBLIC               lim_dia_2          ! called by ice_step 
    3131   INTEGER, PUBLIC ::   ntmoy   = 1 ,   &  !: instantaneous values of ice evolution or averaging ntmoy 
    3232      &                 ninfo   = 1        !: frequency of ouputs on file ice_evolu in case of averaging 
     
    6464CONTAINS 
    6565 
    66    SUBROUTINE lim_dia( kt ) 
     66   SUBROUTINE lim_dia_2( kt ) 
    6767      !!-------------------------------------------------------------------- 
    68       !!                  ***  ROUTINE lim_dia  *** 
     68      !!                  ***  ROUTINE lim_dia_2  *** 
    6969      !!    
    7070      !! ** Purpose : Computation and outputs on file ice.evolu  
     
    8282      !!------------------------------------------------------------------- 
    8383 
    84       IF( kt == nit000 )   CALL lim_dia_init   ! initialisation of ice_evolu file       
     84      IF( kt == nit000 )   CALL lim_dia_init_2  ! initialisation of ice_evolu file       
    8585 
    8686      ! computation of key variables at each time step    
     
    162162       ENDIF 
    163163       ! 
    164     END SUBROUTINE lim_dia 
     164    END SUBROUTINE lim_dia_2 
    165165  
    166166 
    167     SUBROUTINE lim_dia_init 
     167    SUBROUTINE lim_dia_init_2 
    168168       !!------------------------------------------------------------------- 
    169        !!                  ***  ROUTINE lim_dia_init  *** 
     169       !!                  ***  ROUTINE lim_dia_init_2  *** 
    170170       !!              
    171171       !! ** Purpose : Preparation of the file ice_evolu for the output of 
     
    190190       IF(lwp) THEN 
    191191          WRITE(numout,*) 
    192           WRITE(numout,*) 'lim_dia_init : ice parameters for ice diagnostics ' 
    193           WRITE(numout,*) '~~~~~~~~~~~~' 
     192          WRITE(numout,*) 'lim_dia_init_2 : ice parameters for ice diagnostics ' 
     193          WRITE(numout,*) '~~~~~~~~~~~~~~' 
    194194          WRITE(numout,*) '   format of the output values                                 fmtinf = ', fmtinf 
    195195          WRITE(numout,*) '   number of variables written in one line                     nfrinf = ', nfrinf  
     
    2742741111   FORMAT( 3(F7.1,1X,F7.3,1X),I3,A )   
    275275      ! 
    276     END SUBROUTINE lim_dia_init 
     276    END SUBROUTINE lim_dia_init_2 
    277277 
    278278#else 
    279279   !!---------------------------------------------------------------------- 
    280    !!   Default option :                               NO LIM sea-ice model 
     280   !!   Default option :                           NO LIM 2.0 sea-ice model 
    281281   !!---------------------------------------------------------------------- 
    282282CONTAINS 
    283    SUBROUTINE lim_dia         ! Empty routine 
    284    END SUBROUTINE lim_dia 
     283   SUBROUTINE lim_dia_2         ! Empty routine 
     284   END SUBROUTINE lim_dia_2 
    285285#endif 
    286286 
    287287   !!====================================================================== 
    288 END MODULE limdia 
     288END MODULE limdia_2 
Note: See TracChangeset for help on using the changeset viewer.