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

    r879 r881  
    1 MODULE limwri 
     1MODULE limwri_2 
    22   !!====================================================================== 
    3    !!                     ***  MODULE  limwri  *** 
     3   !!                     ***  MODULE  limwri_2  *** 
    44   !!         Ice diagnostics :  write ice output files 
    55   !!====================================================================== 
     
    77   !!            2.0  ! 04-10  (C. Ethe )  1D configuration 
    88   !!------------------------------------------------------------------- 
    9 #if defined key_ice_lim 
    10    !!---------------------------------------------------------------------- 
    11    !!   'key_ice_lim'                                     LIM sea-ice model 
    12    !!---------------------------------------------------------------------- 
    13    !!---------------------------------------------------------------------- 
    14    !!   lim_wri      : write of the diagnostics variables in ouput file  
    15    !!   lim_wri_init : initialization and namelist read 
     9#if defined key_lim2 
     10   !!---------------------------------------------------------------------- 
     11   !!   'key_lim2'                                    LIM 2.0 sea-ice model 
     12   !!---------------------------------------------------------------------- 
     13   !!---------------------------------------------------------------------- 
     14   !!   lim_wri_2      : write of the diagnostics variables in ouput file  
     15   !!   lim_wri_init_2 : initialization and namelist read 
    1616   !!---------------------------------------------------------------------- 
    1717   USE phycst 
     
    2121   USE sbc_oce 
    2222   USE sbc_ice 
    23    USE dom_ice 
    24    USE ice 
     23   USE dom_ice_2 
     24   USE ice_2 
    2525 
    2626   USE lbclnk 
     
    3232   PRIVATE 
    3333 
    34    PUBLIC   lim_wri        ! routine called by sbcice_lim module 
     34   PUBLIC   lim_wri_2      ! routine called by sbc_ice_lim_2 
    3535 
    3636   INTEGER, PARAMETER                       ::   jpnoumax = 40   ! maximum number of variable for ice output 
     
    5555   !!---------------------------------------------------------------------- 
    5656   !!  LIM 2.0, UCL-LOCEAN-IPSL (2006) 
    57    !! $Header: $ 
     57   !! $ Id: $ 
    5858   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
    5959   !!---------------------------------------------------------------------- 
     
    6565   !!   'key_dimgout'                                    Direct Access file 
    6666   !!---------------------------------------------------------------------- 
    67 # include "limwri_dimg.h90" 
     67# include "limwri_dimg_2.h90" 
    6868#else 
    6969   !!---------------------------------------------------------------------- 
     
    7171   !!---------------------------------------------------------------------- 
    7272 
    73    SUBROUTINE lim_wri( kt ) 
    74       !!------------------------------------------------------------------- 
    75       !!                    ***   ROUTINE lim_wri  *** 
     73   SUBROUTINE lim_wri_2( kt ) 
     74      !!------------------------------------------------------------------- 
     75      !!                    ***   ROUTINE lim_wri_2  *** 
    7676      !!                 
    7777      !! ** Purpose :   write the sea-ice output file in NetCDF 
     
    9696      IF( kt == nit000 ) THEN                    !   Initialisation   ! 
    9797         !                                       !--------------------! 
    98          CALL lim_wri_init  
     98         CALL lim_wri_init_2  
    9999                            
    100100         zsto     = rdt_ice 
     
    183183      IF( ( nn_fsbc * niter + nit000 - 1 ) >= nitend )   CALL histclo( nice )  
    184184      ! 
    185    END SUBROUTINE lim_wri 
     185   END SUBROUTINE lim_wri_2 
    186186    
    187187#endif 
    188188    
    189    SUBROUTINE lim_wri_init 
    190       !!------------------------------------------------------------------- 
    191       !!                    ***   ROUTINE lim_wri_init  *** 
     189   SUBROUTINE lim_wri_init_2 
     190      !!------------------------------------------------------------------- 
     191      !!                    ***   ROUTINE lim_wri_init_2  *** 
    192192      !!                 
    193193      !! ** Purpose :   intialisation of LIM sea-ice output 
     
    255255      IF(lwp) THEN 
    256256         WRITE(numout,*) 
    257          WRITE(numout,*) 'lim_wri_init : Ice parameters for outputs' 
    258          WRITE(numout,*) '~~~~~~~~~~~~' 
     257         WRITE(numout,*) 'lim_wri_init_2 : Ice parameters for outputs' 
     258         WRITE(numout,*) '~~~~~~~~~~~~~~' 
    259259         WRITE(numout,*) '    number of fields to be stored         noumef = ', noumef 
    260260         WRITE(numout,*) '           title                            name     unit      Saving (1/0) ',   & 
     
    266266      ENDIF 
    267267      !     
    268    END SUBROUTINE lim_wri_init 
     268   END SUBROUTINE lim_wri_init_2 
    269269 
    270270#else 
    271271   !!---------------------------------------------------------------------- 
    272    !!   Default option :         Empty module          NO LIM sea-ice model 
     272   !!   Default option :         Empty module      NO LIM 2.0 sea-ice model 
    273273   !!---------------------------------------------------------------------- 
    274274CONTAINS 
    275    SUBROUTINE lim_wri          ! Empty routine 
    276    END SUBROUTINE lim_wri 
     275   SUBROUTINE lim_wri_2          ! Empty routine 
     276   END SUBROUTINE lim_wri_2 
    277277#endif 
    278278 
    279279   !!====================================================================== 
    280 END MODULE limwri 
     280END MODULE limwri_2 
Note: See TracChangeset for help on using the changeset viewer.