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

    r879 r881  
    1 MODULE limrhg 
     1MODULE limrhg_2 
    22   !!====================================================================== 
    3    !!                     ***  MODULE  limrhg  *** 
     3   !!                     ***  MODULE  limrhg_2  *** 
    44   !!   Ice rheology :  performs sea ice rheology 
    55   !!====================================================================== 
     
    1010   !!            " "  !  09-09  (G. Madec)  Huge verctor optimisation 
    1111   !!---------------------------------------------------------------------- 
    12 #if defined key_ice_lim 
    13    !!---------------------------------------------------------------------- 
    14    !!   'key_ice_lim'                                     LIM sea-ice model 
    15    !!---------------------------------------------------------------------- 
    16    !!---------------------------------------------------------------------- 
    17    !!   lim_rhg   : computes ice velocities 
     12#if defined key_lim2 
     13   !!---------------------------------------------------------------------- 
     14   !!   'key_lim2'                                    LIM 2.0 sea-ice model 
     15   !!---------------------------------------------------------------------- 
     16   !!---------------------------------------------------------------------- 
     17   !!   lim_rhg_2   : computes ice velocities 
    1818   !!---------------------------------------------------------------------- 
    1919   USE par_oce        ! ocean parameter 
    2020   USE ice_oce        ! ice variables 
    2121   USE sbc_ice        ! surface boundary condition: ice variables 
    22    USE dom_ice        ! domaine: ice variables 
     22   USE dom_ice_2      ! domaine: ice variables 
    2323   USE phycst         ! physical constant 
    24    USE ice            ! ice variables 
     24   USE ice_2          ! ice variables 
    2525   USE lbclnk         ! lateral boundary condition 
    2626   USE lib_mpp        ! MPP library 
     
    3131   PRIVATE 
    3232 
    33    PUBLIC   lim_rhg  ! routine called by lim_dyn 
     33   PUBLIC   lim_rhg_2 ! routine called by lim_dyn 
    3434 
    3535   REAL(wp) ::   rzero   = 0.e0   ! constant value: zero 
     
    4646CONTAINS 
    4747 
    48    SUBROUTINE lim_rhg( k_j1, k_jpj ) 
     48   SUBROUTINE lim_rhg_2( k_j1, k_jpj ) 
    4949      !!------------------------------------------------------------------- 
    50       !!                 ***  SUBROUTINR lim_rhg  *** 
     50      !!                 ***  SUBROUTINR lim_rhg_2  *** 
    5151      !! 
    5252      !! ** purpose :   determines the velocity field of sea ice by using 
     
    567567      ENDIF 
    568568 
    569    END SUBROUTINE lim_rhg 
     569   END SUBROUTINE lim_rhg_2 
    570570 
    571571#else 
    572572   !!---------------------------------------------------------------------- 
    573    !!   Default option          Dummy module           NO LIM sea-ice model 
     573   !!   Default option          Dummy module       NO 2.0 LIM sea-ice model 
    574574   !!---------------------------------------------------------------------- 
    575575CONTAINS 
    576    SUBROUTINE lim_rhg( k1 , k2 )         ! Dummy routine 
    577       WRITE(*,*) 'lim_rhg: You should not have seen this print! error?', k1, k2 
    578    END SUBROUTINE lim_rhg 
     576   SUBROUTINE lim_rhg_2( k1 , k2 )       ! Dummy routine 
     577      WRITE(*,*) 'lim_rhg_2: You should not have seen this print! error?', k1, k2 
     578   END SUBROUTINE lim_rhg_2 
    579579#endif 
    580580 
    581581   !!============================================================================== 
    582 END MODULE limrhg 
     582END MODULE limrhg_2 
Note: See TracChangeset for help on using the changeset viewer.