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

    r699 r881  
    1 MODULE limadv  
     1MODULE limadv_2  
    22   !!====================================================================== 
    3    !!                       ***  MODULE limadv   *** 
    4    !! LIM sea-ice model : sea-ice advection 
     3   !!                       ***  MODULE limadv_2   *** 
     4   !! LIM 2.0 sea-ice model : sea-ice advection 
    55   !!====================================================================== 
    6 #if defined key_ice_lim 
    7    !!---------------------------------------------------------------------- 
    8    !!   'key_ice_lim'                                     LIM sea-ice model 
    9    !!---------------------------------------------------------------------- 
    10    !!   lim_adv_x  : advection of sea ice on x axis 
    11    !!   lim_adv_y  : advection of sea ice on y axis 
     6#if defined key_lim2 
     7   !!---------------------------------------------------------------------- 
     8   !!   'key_lim2'                                    LIM 2.0 sea-ice model 
     9   !!---------------------------------------------------------------------- 
     10   !!   lim_adv_x_2  : advection of sea ice on x axis 
     11   !!   lim_adv_y_2  : advection of sea ice on y axis 
    1212   !!---------------------------------------------------------------------- 
    1313   !! * Modules used 
    1414   USE dom_oce 
    15    USE dom_ice 
     15   USE dom_ice_2 
    1616   USE ice_oce         ! ice variables 
    1717   USE in_out_manager  ! I/O manager 
     
    2323 
    2424   !! * Routine accessibility 
    25    PUBLIC lim_adv_x    ! called by lim_trp 
    26    PUBLIC lim_adv_y    ! called by lim_trp 
     25   PUBLIC lim_adv_x_2    ! called by lim_trp 
     26   PUBLIC lim_adv_y_2    ! called by lim_trp 
    2727 
    2828   !! * Module variables 
     
    3939CONTAINS 
    4040 
    41    SUBROUTINE lim_adv_x( pdf, put , pcrh, psm , ps0 ,   & 
    42       &                  psx, psxx, psy , psyy, psxy ) 
     41   SUBROUTINE lim_adv_x_2( pdf, put , pcrh, psm , ps0 ,   & 
     42      &                    psx, psxx, psy , psyy, psxy ) 
    4343      !!--------------------------------------------------------------------- 
    44       !!                **  routine lim_adv_x  ** 
     44      !!                **  routine lim_adv_x_2  ** 
    4545      !!   
    4646      !! ** purpose :   Computes and adds the advection trend to sea-ice 
     
    232232      ENDIF 
    233233 
    234    END SUBROUTINE lim_adv_x 
    235  
    236  
    237    SUBROUTINE lim_adv_y( pdf, pvt , pcrh, psm , ps0 ,   & 
    238       &                  psx, psxx, psy , psyy, psxy ) 
     234   END SUBROUTINE lim_adv_x_2 
     235 
     236 
     237   SUBROUTINE lim_adv_y_2( pdf, pvt , pcrh, psm , ps0 ,   & 
     238      &                    psx, psxx, psy , psyy, psxy ) 
    239239      !!--------------------------------------------------------------------- 
    240       !!                **  routine lim_adv_y  ** 
     240      !!                **  routine lim_adv_y_2  ** 
    241241      !!             
    242242      !! ** purpose :   Computes and adds the advection trend to sea-ice  
     
    432432      ENDIF 
    433433 
    434    END SUBROUTINE lim_adv_y 
     434   END SUBROUTINE lim_adv_y_2 
    435435 
    436436#else 
    437437   !!---------------------------------------------------------------------- 
    438    !!   Default option            Dummy module         NO LIM sea-ice model 
     438   !!   Default option            Dummy module     NO LIM 2.0 sea-ice model 
    439439   !!---------------------------------------------------------------------- 
    440440CONTAINS 
    441    SUBROUTINE lim_adv_x         ! Empty routine 
    442    END SUBROUTINE lim_adv_x 
    443    SUBROUTINE lim_adv_y           ! Empty routine 
    444    END SUBROUTINE lim_adv_y 
     441   SUBROUTINE lim_adv_x_2         ! Empty routine 
     442   END SUBROUTINE lim_adv_x_2 
     443   SUBROUTINE lim_adv_y_2         ! Empty routine 
     444   END SUBROUTINE lim_adv_y_2 
    445445 
    446446#endif 
    447447 
    448 END MODULE limadv 
     448END MODULE limadv_2 
Note: See TracChangeset for help on using the changeset viewer.