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

    r719 r821  
    1 MODULE limistate 
     1MODULE limistate_2 
    22   !!====================================================================== 
    3    !!                     ***  MODULE  limistate  *** 
     3   !!                     ***  MODULE  limistate_2  *** 
    44   !!              Initialisation of diagnostics ice variables 
    55   !!====================================================================== 
     
    88   !!                  !  06-07  (S. Masson)  IOM to read the restart 
    99   !!-------------------------------------------------------------------- 
    10 #if defined key_ice_lim 
    11    !!---------------------------------------------------------------------- 
    12    !!   'key_ice_lim' :                                   LIM sea-ice model 
    13    !!---------------------------------------------------------------------- 
    14    !!---------------------------------------------------------------------- 
    15    !!   lim_istate      :  Initialisation of diagnostics ice variables 
    16    !!   lim_istate_init :  initialization of ice state and namelist read 
     10#if defined key_lim2 
     11   !!---------------------------------------------------------------------- 
     12   !!   'key_lim2' :                                  LIM 2.0 sea-ice model 
     13   !!---------------------------------------------------------------------- 
     14   !!---------------------------------------------------------------------- 
     15   !!   lim_istate_2      :  Initialisation of diagnostics ice variables 
     16   !!   lim_istate_init_2 :  initialization of ice state and namelist read 
    1717   !!---------------------------------------------------------------------- 
    1818   USE phycst 
     
    2020   USE oce             ! dynamics and tracers variables      !!gm used??? 
    2121   USE dom_oce                                                     !!gm used??? 
    22    USE par_ice         ! ice parameters 
     22   USE par_ice_2       ! ice parameters 
    2323   USE ice_oce         ! ice variables 
    24    USE dom_ice 
    25    USE ice             ! ??? 
     24   USE dom_ice_2 
    2625   USE lbclnk 
    27    USE ice 
     26   USE ice_2 
    2827   USE iom 
    2928   USE in_out_manager 
     
    3231   PRIVATE 
    3332 
    34    PUBLIC lim_istate      ! routine called by lim_init.F90 
     33   PUBLIC lim_istate_2      ! routine called by lim_init_2.F90 
    3534 
    3635   REAL(wp) ::           &  !!! ** init namelist (namiceini) ** 
     
    5453CONTAINS 
    5554 
    56    SUBROUTINE lim_istate 
    57       !!------------------------------------------------------------------- 
    58       !!                    ***  ROUTINE lim_istate  *** 
     55   SUBROUTINE lim_istate_2 
     56      !!------------------------------------------------------------------- 
     57      !!                    ***  ROUTINE lim_istate_2  *** 
    5958      !! 
    6059      !! ** Purpose :   defined the sea-ice initial state 
     
    6867      !-------------------------------------------------------------------- 
    6968 
    70        CALL lim_istate_init     !  reading the initials parameters of the ice 
     69       CALL lim_istate_init_2   !  reading the initials parameters of the ice 
    7170 
    7271      !-- Initialisation of sst,sss,u,v do i=1,jpi 
     
    200199      CALL lbc_lnk( sss_io , 'T', 1. ) 
    201200      ! 
    202    END SUBROUTINE lim_istate 
     201   END SUBROUTINE lim_istate_2 
    203202 
    204203    
    205    SUBROUTINE lim_istate_init 
    206       !!------------------------------------------------------------------- 
    207       !!                   ***  ROUTINE lim_istate_init  *** 
     204   SUBROUTINE lim_istate_init_2 
     205      !!------------------------------------------------------------------- 
     206      !!                   ***  ROUTINE lim_istate_init_2  *** 
    208207      !!         
    209208      !! ** Purpose :   Definition of initial state of the ice  
     
    273272      ENDIF 
    274273      ! 
    275    END SUBROUTINE lim_istate_init 
     274   END SUBROUTINE lim_istate_init_2 
    276275 
    277276#else 
    278277   !!---------------------------------------------------------------------- 
    279    !!   Default option :         Empty module          NO LIM sea-ice model 
     278   !!   Default option :         Empty module      NO LIM 2.0 sea-ice model 
    280279   !!---------------------------------------------------------------------- 
    281280CONTAINS 
    282    SUBROUTINE lim_istate          ! Empty routine 
    283    END SUBROUTINE lim_istate 
     281   SUBROUTINE lim_istate_2        ! Empty routine 
     282   END SUBROUTINE lim_istate_2 
    284283#endif 
    285284 
    286285   !!====================================================================== 
    287 END MODULE limistate 
     286END MODULE limistate_2 
Note: See TracChangeset for help on using the changeset viewer.