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/limistate.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/limistate.F90

    r717 r881  
    1 MODULE limistate 
     1MODULE limistate_2 
    22   !!====================================================================== 
    3    !!                     ***  MODULE  limistate  *** 
     3   !!                     ***  MODULE  limistate_2  *** 
    44   !!              Initialisation of diagnostics ice variables 
    55   !!====================================================================== 
     
    1010   !!                  !  07-10  (G. Madec)  surface module 
    1111   !!-------------------------------------------------------------------- 
    12 #if defined key_ice_lim 
    13    !!---------------------------------------------------------------------- 
    14    !!   'key_ice_lim' :                                   LIM sea-ice model 
    15    !!---------------------------------------------------------------------- 
    16    !!---------------------------------------------------------------------- 
    17    !!   lim_istate      :  Initialisation of diagnostics ice variables 
    18    !!   lim_istate_init :  initialization of ice state and namelist read 
     12#if defined key_lim2 
     13   !!---------------------------------------------------------------------- 
     14   !!   'key_lim2' :                                  LIM 2.0 sea-ice model 
     15   !!---------------------------------------------------------------------- 
     16   !!---------------------------------------------------------------------- 
     17   !!   lim_istate_2      :  Initialisation of diagnostics ice variables 
     18   !!   lim_istate_init_2 :  initialization of ice state and namelist read 
    1919   !!---------------------------------------------------------------------- 
    2020   USE phycst 
    2121   USE ocfzpt 
    22    USE par_ice         ! ice parameters 
     22   USE par_ice_2       ! ice parameters 
    2323   USE ice_oce         ! ice variables 
    24    USE dom_ice 
     24   USE dom_ice_2 
    2525   USE lbclnk 
    2626   USE oce 
    27    USE ice 
     27   USE ice_2 
    2828   USE iom 
    2929   USE in_out_manager 
     
    3232   PRIVATE 
    3333 
    34    PUBLIC   lim_istate   ! routine called by lim_init.F90 
    35  
    36    REAL(wp) ::           & !!! ** init namelist (namiceini) ** 
     34   PUBLIC lim_istate_2      ! routine called by lim_init_2.F90 
     35 
     36   REAL(wp) ::           &  !!! ** init namelist (namiceini) ** 
    3737      ttest  = 2.0  ,    &  ! threshold water temperature for initial sea ice 
    3838      hninn  = 0.5  ,    &  ! initial snow thickness in the north 
     
    5454CONTAINS 
    5555 
    56    SUBROUTINE lim_istate 
    57       !!------------------------------------------------------------------- 
    58       !!                    ***  ROUTINE lim_istate  *** 
     56   SUBROUTINE lim_istate_2 
     57      !!------------------------------------------------------------------- 
     58      !!                    ***  ROUTINE lim_istate_2  *** 
    5959      !! 
    6060      !! ** Purpose :   defined the sea-ice initial state 
     
    6868      !-------------------------------------------------------------------- 
    6969  
    70       CALL lim_istate_init     !  reading the initials parameters of the ice 
     70      CALL lim_istate_init_2     !  reading the initials parameters of the ice 
    7171 
    7272      IF( .NOT. ln_limini ) THEN   
     
    153153      CALL lbc_lnk( qstoif , 'T', 1. ) 
    154154 
    155    END SUBROUTINE lim_istate 
     155   END SUBROUTINE lim_istate_2 
    156156 
    157157    
    158    SUBROUTINE lim_istate_init 
    159       !!------------------------------------------------------------------- 
    160       !!                   ***  ROUTINE lim_istate_init  *** 
     158   SUBROUTINE lim_istate_init_2 
     159      !!------------------------------------------------------------------- 
     160      !!                   ***  ROUTINE lim_istate_init_2  *** 
    161161      !!         
    162162      !! ** Purpose :   Definition of initial state of the ice  
     
    179179      IF(lwp) THEN 
    180180         WRITE(numout,*) 
    181          WRITE(numout,*) 'lim_istate_init : ice parameters inititialisation ' 
    182          WRITE(numout,*) '~~~~~~~~~~~~~~~' 
     181         WRITE(numout,*) 'lim_istate_init_2 : ice parameters inititialisation ' 
     182         WRITE(numout,*) '~~~~~~~~~~~~~~~~~' 
    183183         WRITE(numout,*) '         threshold water temp. for initial sea-ice    ttest      = ', ttest 
    184184         WRITE(numout,*) '         initial snow thickness in the north          hninn      = ', hninn 
     
    214214      ENDIF 
    215215      !      
    216    END SUBROUTINE lim_istate_init 
     216   END SUBROUTINE lim_istate_init_2 
    217217 
    218218#else 
    219219   !!---------------------------------------------------------------------- 
    220    !!   Default option :         Empty module          NO LIM sea-ice model 
     220   !!   Default option :         Empty module      NO LIM 2.0 sea-ice model 
    221221   !!---------------------------------------------------------------------- 
    222222CONTAINS 
    223    SUBROUTINE lim_istate          ! Empty routine 
    224    END SUBROUTINE lim_istate 
     223   SUBROUTINE lim_istate_2        ! Empty routine 
     224   END SUBROUTINE lim_istate_2 
    225225#endif 
    226226 
    227227   !!====================================================================== 
    228 END MODULE limistate 
     228END MODULE limistate_2 
Note: See TracChangeset for help on using the changeset viewer.