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

    r783 r821  
    1 MODULE limrst 
     1MODULE limrst_2 
    22   !!====================================================================== 
    3    !!                     ***  MODULE  limrst  *** 
     3   !!                     ***  MODULE  limrst_2  *** 
    44   !! Ice restart :  write the ice restart file 
    55   !!====================================================================== 
     
    77   !!                 !  06-07  (S. Masson)  use IOM for restart read/write 
    88   !!---------------------------------------------------------------------- 
    9 #if defined key_ice_lim 
    10    !!---------------------------------------------------------------------- 
    11    !!   'key_ice_lim' :                                   LIM sea-ice model 
    12    !!---------------------------------------------------------------------- 
    13    !!---------------------------------------------------------------------- 
    14    !!   lim_rst_opn   : open ice restart file 
    15    !!   lim_rst_write : write of the ice restart file  
    16    !!   lim_rst_read  : read  the ice restart file  
    17    !!---------------------------------------------------------------------- 
    18    USE ice 
     9#if defined key_lim2 
     10   !!---------------------------------------------------------------------- 
     11   !!   'key_lim2' :                                  LIM 2.0 sea-ice model 
     12   !!---------------------------------------------------------------------- 
     13   !!---------------------------------------------------------------------- 
     14   !!   lim_rst_opn_2   : open ice restart file 
     15   !!   lim_rst_write_2 : write of the ice restart file  
     16   !!   lim_rst_read_2  : read  the ice restart file  
     17   !!---------------------------------------------------------------------- 
     18   USE ice_2 
    1919   USE dom_oce 
    2020   USE ice_oce         ! ice variables 
     
    2727   PRIVATE 
    2828 
    29    PUBLIC   lim_rst_opn     ! routine called by ??? module 
    30    PUBLIC   lim_rst_write   ! routine called by ??? module 
    31    PUBLIC   lim_rst_read    ! routine called by ??? module 
     29   PUBLIC   lim_rst_opn_2     ! routine called by ??? module 
     30   PUBLIC   lim_rst_write_2   ! routine called by ??? module 
     31   PUBLIC   lim_rst_read_2    ! routine called by ??? module 
    3232 
    3333   LOGICAL, PUBLIC ::   lrst_ice         !: logical to control the ice restart write  
     
    4242CONTAINS 
    4343 
    44    SUBROUTINE lim_rst_opn( kt ) 
    45       !!---------------------------------------------------------------------- 
    46       !!                    ***  lim_rst_opn  *** 
     44   SUBROUTINE lim_rst_opn_2( kt ) 
     45      !!---------------------------------------------------------------------- 
     46      !!                    ***  lim_rst_opn_2  *** 
    4747      !! 
    4848      !! ** purpose  :   output of sea-ice variable in a netcdf file 
     
    8282      ENDIF 
    8383      ! 
    84    END SUBROUTINE lim_rst_opn 
    85  
    86    SUBROUTINE lim_rst_write( kt ) 
    87       !!---------------------------------------------------------------------- 
    88       !!                    ***  lim_rst_write  *** 
     84   END SUBROUTINE lim_rst_opn_2 
     85 
     86   SUBROUTINE lim_rst_write_2( kt ) 
     87      !!---------------------------------------------------------------------- 
     88      !!                    ***  lim_rst_write_2  *** 
    8989      !! 
    9090      !! ** purpose  :   output of sea-ice variable in a netcdf file 
     
    9999      IF( iter == nitrst ) THEN 
    100100         IF(lwp) WRITE(numout,*) 
    101          IF(lwp) WRITE(numout,*) 'lim_rst_write : write ice restart file  kt =', kt 
     101         IF(lwp) WRITE(numout,*) 'lim_rst_write_2 : write ice restart file  kt =', kt 
    102102         IF(lwp) WRITE(numout,*) '~~~~~~~'          
    103103      ENDIF 
     
    166166      ENDIF 
    167167      ! 
    168    END SUBROUTINE lim_rst_write 
    169  
    170  
    171    SUBROUTINE lim_rst_read 
    172       !!---------------------------------------------------------------------- 
    173       !!                    ***  lim_rst_read  *** 
     168   END SUBROUTINE lim_rst_write_2 
     169 
     170 
     171   SUBROUTINE lim_rst_read_2 
     172      !!---------------------------------------------------------------------- 
     173      !!                    ***  lim_rst_read_2  *** 
    174174      !! 
    175175      !! ** purpose  :   read of sea-ice variable restart in a netcdf file 
     
    181181      IF(lwp) THEN 
    182182         WRITE(numout,*) 
    183          WRITE(numout,*) 'lim_rst_read : read ice NetCDF restart file' 
     183         WRITE(numout,*) 'lim_rst_read_2 : read ice NetCDF restart file' 
    184184         WRITE(numout,*) '~~~~~~~~' 
    185185      ENDIF 
     
    257257      CALL iom_close( numrir ) 
    258258      ! 
    259    END SUBROUTINE lim_rst_read 
     259   END SUBROUTINE lim_rst_read_2 
    260260 
    261261#else 
    262262   !!---------------------------------------------------------------------- 
    263    !!   Default option :       Empty module            NO LIM sea-ice model 
     263   !!   Default option :       Empty module        NO LIM 2.0 sea-ice model 
    264264   !!---------------------------------------------------------------------- 
    265265#endif 
    266266 
    267267   !!====================================================================== 
    268 END MODULE limrst 
     268END MODULE limrst_2 
Note: See TracChangeset for help on using the changeset viewer.