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

    r719 r821  
    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'  i                                 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 ioipsl 
     
    2323   USE ice_oce         ! ice variables 
    2424   USE flx_oce 
    25    USE dom_ice 
    26    USE ice 
     25   USE dom_ice_2 
     26   USE ice_2 
    2727   USE lbclnk 
    2828 
     
    3030   PRIVATE 
    3131 
    32    PUBLIC   lim_wri        ! routine called by lim_step.F90 
     32   PUBLIC   lim_wri_2        ! routine called by lim_step_2.F90 
    3333 
    3434   INTEGER, PARAMETER                       ::   jpnoumax = 40   ! maximum number of variable for ice output 
     
    6161   !!   'key_dimgout'                                    Direct Access file 
    6262   !!---------------------------------------------------------------------- 
    63 # include "limwri_dimg.h90" 
     63# include "limwri_dimg_2.h90" 
    6464#else 
    6565   !!---------------------------------------------------------------------- 
     
    6767   !!---------------------------------------------------------------------- 
    6868 
    69    SUBROUTINE lim_wri( kt ) 
    70       !!------------------------------------------------------------------- 
    71       !!                    ***   ROUTINE lim_wri  *** 
     69   SUBROUTINE lim_wri_2( kt ) 
     70      !!------------------------------------------------------------------- 
     71      !!                    ***   ROUTINE lim_wri_2  *** 
    7272      !!                 
    7373      !! ** Purpose :   write the sea-ice output file in NetCDF 
     
    9292      IF ( kt == nit000 ) THEN                !   Initialisation   ! 
    9393         !                                       !--------------------! 
    94          CALL lim_wri_init  
     94         CALL lim_wri_init_2  
    9595                            
    9696         zsto     = rdt_ice 
     
    123123      IF(lwp) THEN 
    124124         WRITE(numout,*) 
    125          WRITE(numout,*) 'lim_wri : write ice outputs in NetCDF files at time : ', nyear, nmonth, nday, kt + nfice - 1 
    126          WRITE(numout,*) '~~~~~~~ ' 
     125         WRITE(numout,*) 'lim_wri_2 : write ice outputs in NetCDF files at time : ', nyear, nmonth, nday, kt + nfice - 1 
     126         WRITE(numout,*) '~~~~~~~~~ ' 
    127127      ENDIF 
    128128 
     
    189189      ENDIF 
    190190      ! 
    191    END SUBROUTINE lim_wri 
     191   END SUBROUTINE lim_wri_2 
    192192    
    193193#endif 
    194194    
    195    SUBROUTINE lim_wri_init 
    196       !!------------------------------------------------------------------- 
    197       !!                    ***   ROUTINE lim_wri_init  *** 
     195   SUBROUTINE lim_wri_init_2 
     196      !!------------------------------------------------------------------- 
     197      !!                    ***   ROUTINE lim_wri_init_2  *** 
    198198      !!                 
    199199      !! ** Purpose :   intialisation of LIM sea-ice output 
     
    267267      IF(lwp) THEN 
    268268         WRITE(numout,*) 
    269          WRITE(numout,*) 'lim_wri_init : Ice parameters for outputs' 
    270          WRITE(numout,*) '~~~~~~~~~~~~' 
     269         WRITE(numout,*) 'lim_wri_init_2 : Ice parameters for outputs' 
     270         WRITE(numout,*) '~~~~~~~~~~~~~~' 
    271271         WRITE(numout,*) '    number of fields to be stored         noumef = ', noumef 
    272272         WRITE(numout,*) '           title                            name     unit      Saving (1/0) ',   & 
     
    278278      ENDIF 
    279279      !     
    280    END SUBROUTINE lim_wri_init 
     280   END SUBROUTINE lim_wri_init_2 
    281281 
    282282#else 
    283283   !!---------------------------------------------------------------------- 
    284    !!   Default option :         Empty module          NO LIM sea-ice model 
     284   !!   Default option :         Empty module      NO LIM 2.0 sea-ice model 
    285285   !!---------------------------------------------------------------------- 
    286286CONTAINS 
    287    SUBROUTINE lim_wri          ! Empty routine 
    288    END SUBROUTINE lim_wri 
     287   SUBROUTINE lim_wri_2          ! Empty routine 
     288   END SUBROUTINE lim_wri_2 
    289289#endif 
    290290 
    291291   !!====================================================================== 
    292 END MODULE limwri 
     292END MODULE limwri_2 
Note: See TracChangeset for help on using the changeset viewer.