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/OPA_SRC/SBC/sbcice_lim.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/OPA_SRC/SBC/sbcice_lim.F90

    r880 r881  
    1 MODULE sbcice_lim 
     1MODULE sbcice_lim_2 
    22   !!====================================================================== 
    3    !!                       ***  MODULE  sbcice  *** 
     3   !!                       ***  MODULE  sbcice_lim_2  *** 
    44   !! Surface module :  update surface ocean boundary condition over ice 
    55   !!                   covered area using LIM sea-ice model 
    6    !! Sea-Ice model  :  LIM Sea ice model time-stepping 
     6   !! Sea-Ice model  :  LIM 2.0 Sea ice model time-stepping 
    77   !!====================================================================== 
    8    !! History :  9.0   !  06-06  (G. Madec)  from icestp.F90 
     8   !! History :  9.0   !  06-06  (G. Madec)  from icestp_2.F90 
    99   !!---------------------------------------------------------------------- 
    10 #if defined key_ice_lim 
     10#if defined key_lim2 
    1111   !!---------------------------------------------------------------------- 
    12    !!   'key_ice_lim' :                                   Lim sea-ice model 
     12   !!   'key_lim2' :                                  LIM 2.0 sea-ice model 
    1313   !!---------------------------------------------------------------------- 
    1414   !!---------------------------------------------------------------------- 
    15    !!   sbc_ice_lim    : sea-ice model time-stepping and 
     15   !!   sbc_ice_lim_2  : sea-ice model time-stepping and 
    1616   !!                    update ocean sbc over ice-covered area 
    1717   !!---------------------------------------------------------------------- 
    1818   USE oce             ! ocean dynamics and tracers 
    1919   USE dom_oce         ! ocean space and time domain 
    20    USE ice 
    21    USE iceini 
     20   USE ice_2 
     21   USE iceini_2 
    2222   USE ice_oce         ! ice variables 
    23    USE dom_ice 
     23   USE dom_ice_2 
    2424   USE cpl_oce 
    2525 
     
    3333   USE phycst          ! Define parameters for the routines 
    3434   USE eosbn2          ! equation of state 
    35    USE limdyn 
    36    USE limtrp 
    37    USE limdmp 
    38    USE limthd 
    39    USE limsbc          ! sea surface boundary condition 
    40    USE limdia 
    41    USE limwri 
    42    USE limrst 
     35   USE limdyn_2 
     36   USE limtrp_2 
     37   USE limdmp_2 
     38   USE limthd_2 
     39   USE limsbc_2        ! sea surface boundary condition 
     40   USE limdia_2 
     41   USE limwri_2 
     42   USE limrst_2 
    4343 
    4444   USE lbclnk 
     
    5050   PRIVATE 
    5151 
    52    PUBLIC sbc_ice_lim ! routine called by step.F90 
     52   PUBLIC sbc_ice_lim_2 ! routine called by sbcmod.F90 
    5353    
    5454   !! * Substitutions 
     
    5757   !!---------------------------------------------------------------------- 
    5858   !!   OPA 9.0 , LOCEAN-IPSL (2006)  
    59    !! $Header: / 
     59   !! $ Id: $ 
    6060   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    6161   !!---------------------------------------------------------------------- 
     
    6363CONTAINS 
    6464 
    65    SUBROUTINE sbc_ice_lim( kt, kblk ) 
     65   SUBROUTINE sbc_ice_lim_2( kt, kblk ) 
    6666      !!--------------------------------------------------------------------- 
    67       !!                  ***  ROUTINE ice_stp  *** 
     67      !!                  ***  ROUTINE sbc_ice_lim_2  *** 
    6868      !!                    
    6969      !! ** Purpose :   update the ocean surface boundary condition via the  
     
    9595      IF( kt == nit000 ) THEN 
    9696         IF(lwp) WRITE(numout,*) 
    97          IF(lwp) WRITE(numout,*) 'sbc_ice_lim : update ocean surface boudary condition'  
    98          IF(lwp) WRITE(numout,*) '~~~~~~~~~~~   via Louvain la Neuve Ice Model (LIM) time stepping' 
     97         IF(lwp) WRITE(numout,*) 'sbc_ice_lim_2 : update ocean surface boudary condition'  
     98         IF(lwp) WRITE(numout,*) '~~~~~~~~~~~~~   via Louvain la Neuve Ice Model (LIM) time stepping' 
    9999 
    100          CALL ice_init 
     100         CALL ice_init_2 
    101101 
    102102      ENDIF 
     
    161161         !  Ice model step  ! 
    162162         ! ---------------- ! 
    163          ;                              CALL lim_rst_opn  ( kt )      ! Open Ice restart file 
    164          ;                              CALL lim_dyn      ( kt )      ! Ice dynamics    ( rheology/dynamics ) 
    165          ;                              CALL lim_trp      ( kt )      ! Ice transport   ( Advection/diffusion ) 
    166          IF( ln_limdmp )                CALL lim_dmp      ( kt )      ! Ice damping  
    167          ;                              CALL lim_thd      ( kt )      ! Ice thermodynamics  
    168          ;                              CALL lim_sbc      ( kt )      ! Ice/Ocean Mass & Heat fluxes  
     163         ;                              CALL lim_rst_opn_2  ( kt )      ! Open Ice restart file 
     164         ;                              CALL lim_dyn_2      ( kt )      ! Ice dynamics    ( rheology/dynamics ) 
     165         ;                              CALL lim_trp_2      ( kt )      ! Ice transport   ( Advection/diffusion ) 
     166         IF( ln_limdmp )                CALL lim_dmp_2      ( kt )      ! Ice damping  
     167         ;                              CALL lim_thd_2      ( kt )      ! Ice thermodynamics  
     168         ;                              CALL lim_sbc_2      ( kt )      ! Ice/Ocean Mass & Heat fluxes  
    169169         IF( MOD( kt+nn_fsbc-1, ninfo ) == 0 .OR.   & 
    170             &  ntmoy == 1 )             CALL lim_dia      ( kt )      ! Ice Diagnostics  
    171          ;                              CALL lim_wri      ( kt )      ! Ice outputs  
    172          IF( lrst_ice )                 CALL lim_rst_write( kt )      ! Ice restart file  
     170            &  ntmoy == 1 )             CALL lim_dia_2      ( kt )      ! Ice Diagnostics  
     171         ;                              CALL lim_wri_2      ( kt )      ! Ice outputs  
     172         IF( lrst_ice )                 CALL lim_rst_write_2( kt )      ! Ice restart file  
    173173         ! 
    174174      ENDIF 
    175175      ! 
    176    END SUBROUTINE sbc_ice_lim 
     176   END SUBROUTINE sbc_ice_lim_2 
    177177 
    178178#else 
    179179   !!---------------------------------------------------------------------- 
    180    !!   Default option           Dummy module          NO LIM sea-ice model 
     180   !!   Default option           Dummy module      NO LIM 2.0 sea-ice model 
    181181   !!---------------------------------------------------------------------- 
    182182CONTAINS 
    183    SUBROUTINE sbc_ice_lim ( kt, kblk )     ! Dummy routine 
    184       WRITE(*,*) 'sbc_ice_lim: You should not have seen this print! error?', kt, kblk 
    185    END SUBROUTINE sbc_ice_lim 
     183   SUBROUTINE sbc_ice_lim_2 ( kt, kblk )     ! Dummy routine 
     184      WRITE(*,*) 'sbc_ice_lim_2: You should not have seen this print! error?', kt, kblk 
     185   END SUBROUTINE sbc_ice_lim_2 
    186186#endif 
    187187 
    188188   !!====================================================================== 
    189 END MODULE sbcice_lim 
     189END MODULE sbcice_lim_2 
Note: See TracChangeset for help on using the changeset viewer.