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

    r719 r821  
    1 MODULE icestp 
     1MODULE icestp_2 
    22   !!====================================================================== 
    3    !!                       ***  MODULE icestp   *** 
     3   !!                       ***  MODULE icestp_2   *** 
    44   !!   Sea-Ice model : LIM Sea ice model time-stepping 
    55   !!====================================================================== 
     
    88   !!   2.0  !  02-09  (G. Madec, C. Ethe)  F90: Free form and module 
    99   !!---------------------------------------------------------------------- 
    10 #if defined key_ice_lim 
    11    !!---------------------------------------------------------------------- 
    12    !!   'key_ice_lim' :                                   Lim sea-ice model 
    13    !!---------------------------------------------------------------------- 
    14    !!---------------------------------------------------------------------- 
    15    !!   ice_stp       : sea-ice model time-stepping 
     10#if defined key_lim2 
     11   !!---------------------------------------------------------------------- 
     12   !!   'key_lim2' :                                  LIM 2.0 sea-ice model 
     13   !!---------------------------------------------------------------------- 
     14   !!---------------------------------------------------------------------- 
     15   !!   ice_stp_2       : sea-ice model time-stepping 
    1616   !!---------------------------------------------------------------------- 
    1717   USE dom_oce 
     
    2020   USE ice_oce         ! ice variables 
    2121   USE flx_oce         ! forcings variables 
    22    USE dom_ice 
     22   USE dom_ice_2 
    2323   USE cpl_oce 
    2424   USE daymod 
    2525   USE phycst          ! Define parameters for the routines 
    2626   USE taumod 
    27    USE ice 
     27   USE ice_2 
    2828   USE ocesbc 
    2929   USE lbclnk 
    30    USE limdyn 
    31    USE limtrp 
    32    USE limthd 
    33    USE limflx 
    34    USE limdia 
    35    USE limwri 
    36    USE limrst 
    37    USE limdmp          ! Ice damping 
     30   USE limdyn_2 
     31   USE limtrp_2 
     32   USE limthd_2 
     33   USE limflx_2 
     34   USE limdia_2 
     35   USE limwri_2 
     36   USE limrst_2 
     37   USE limdmp_2        ! Ice damping 
    3838   USE prtctl          ! Print control 
    3939 
     
    4141   PRIVATE 
    4242 
    43    PUBLIC   ice_stp    ! called by step.F90 
     43   PUBLIC   ice_stp_2  ! called by step.F90 
    4444 
    4545   !! * Substitutions 
     
    5454CONTAINS 
    5555 
    56    SUBROUTINE ice_stp ( kt ) 
     56   SUBROUTINE ice_stp_2 ( kt ) 
    5757      !!--------------------------------------------------------------------- 
    58       !!                  ***  ROUTINE ice_stp  *** 
     58      !!                  ***  ROUTINE ice_stp_2  *** 
    5959      !!                    
    6060      !! ** Purpose :   Louvain la Neuve Sea Ice Model time stepping  
     
    196196 
    197197         !                                                           !-----------------------! 
    198          CALL lim_rst_opn( kt )                                   ! Open Ice restart file ! 
     198         CALL lim_rst_opn_2( kt )                                    ! Open Ice restart file ! 
    199199         !                                                           !-----------------------! 
    200200 
    201201         !                                                           !--------------! 
    202          CALL lim_dyn( kt )                                          ! Ice dynamics !   ( rheology/dynamics ) 
     202         CALL lim_dyn_2( kt )                                        ! Ice dynamics !   ( rheology/dynamics ) 
    203203         !                                                           !--------------! 
    204204         IF(ln_ctl) THEN 
     
    209209 
    210210         !                                                           !---------------! 
    211          CALL lim_trp( kt )                                          ! Ice transport !  ( Advection/diffusion ) 
     211         CALL lim_trp_2( kt )                                        ! Ice transport !  ( Advection/diffusion ) 
    212212         !                                                           !---------------! 
    213213         IF(ln_ctl) THEN 
     
    220220         !                                                           !-------------! 
    221221#if defined key_agrif 
    222             IF( Agrif_Root() )   CALL lim_dmp(kt) 
     222            IF( Agrif_Root() )   CALL lim_dmp_2(kt) 
    223223#else 
    224             CALL lim_dmp(kt)                                          
     224            CALL lim_dmp_2(kt)                                          
    225225#endif 
    226226         ENDIF 
    227227         !                                                           !--------------------! 
    228          CALL lim_thd( kt )                                          ! Ice thermodynamics ! 
     228         CALL lim_thd_2( kt )                                        ! Ice thermodynamics ! 
    229229         !                                                           !--------------------! 
    230230         IF(ln_ctl) THEN 
     
    236236         ! Mass and heat fluxes from ice to ocean 
    237237         !                                                           !------------------------------! 
    238          CALL lim_flx                                                ! Ice/Ocean Mass & Heat fluxes ! 
     238         CALL lim_flx_2                                              ! Ice/Ocean Mass & Heat fluxes ! 
    239239         !                                                           !------------------------------! 
    240240 
    241241         IF( MOD( kt + nfice -1, ninfo ) == 0 .OR. ntmoy == 1 )  THEN        !-----------------! 
    242             CALL lim_dia( kt )                                    ! Ice Diagnostics ! 
    243          ENDIF                                                       !-----------------! 
    244  
    245          !                                                           !-------------! 
    246          CALL lim_wri( kt )                                          ! Ice outputs ! 
     242            CALL lim_dia_2( kt )                                             ! Ice Diagnostics ! 
     243         ENDIF                                                               !-----------------! 
     244 
     245         !                                                           !-------------! 
     246         CALL lim_wri_2( kt )                                        ! Ice outputs ! 
    247247         !                                                           !-------------! 
    248248 
    249249         !                                                           !------------------------! 
    250          IF( lrst_ice ) CALL lim_rst_write( kt )                  ! Write Ice restart file ! 
     250         IF( lrst_ice ) CALL lim_rst_write_2( kt )                   ! Write Ice restart file ! 
    251251         !                                                           !------------------------! 
    252252 
     
    271271      ENDIF 
    272272      ! 
    273    END SUBROUTINE ice_stp 
     273   END SUBROUTINE ice_stp_2 
    274274 
    275275#else 
    276276   !!---------------------------------------------------------------------- 
    277    !!   Default option           Dummy module          NO LIM sea-ice model 
     277   !!   Default option           Dummy module      NO LIM 2.0 sea-ice model 
    278278   !!---------------------------------------------------------------------- 
    279279CONTAINS 
    280    SUBROUTINE ice_stp ( kt )     ! Dummy routine 
    281       WRITE(*,*) 'ice_stp: You should not have seen this print! error?', kt 
    282    END SUBROUTINE ice_stp 
     280   SUBROUTINE ice_stp_2 ( kt )     ! Dummy routine 
     281      WRITE(*,*) 'ice_stp_2: You should not have seen this print! error?', kt 
     282   END SUBROUTINE ice_stp_2 
    283283#endif 
    284284 
    285285   !!====================================================================== 
    286 END MODULE icestp 
     286END MODULE icestp_2 
Note: See TracChangeset for help on using the changeset viewer.