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 1857 for branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/LIM_SRC_2/limdia_2.F90 – NEMO

Ignore:
Timestamp:
2010-05-03T13:59:46+02:00 (14 years ago)
Author:
gm
Message:

ticket:#665 Reverting previous commit and going back to revision 1850

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DEV_r1837_mass_heat_salt_fluxes/NEMO/LIM_SRC_2/limdia_2.F90

    r1855 r1857  
    1212   !!   'key_lim2' :                                  LIM 2.0 sea-ice model 
    1313   !!---------------------------------------------------------------------- 
     14   !!---------------------------------------------------------------------- 
    1415   !!   lim_dia_2      : computation of the time evolution of keys var. 
    1516   !!   lim_dia_init_2 : initialization and namelist read 
     
    2728   PRIVATE 
    2829 
    29    PUBLIC   lim_dia_2   ! called by sbc_ice_lim_2 
    30     
    31    INTEGER, PUBLIC ::   ntmoy   = 1   !: instantaneous values of ice evolution or averaging ntmoy 
    32    INTEGER, PUBLIC ::   ninfo   = 1   !: frequency of ouputs on file ice_evolu in case of averaging 
    33  
    34    !                                              !!! Parameters for outputs to files "evolu" 
    35    INTEGER, PARAMETER ::   jpinfmx = 100           ! maximum number of key variables 
    36    INTEGER, PARAMETER ::   jpchinf = 5             ! ??? 
    37    INTEGER, PARAMETER ::   jpchsep = jpchinf + 2   ! ??? 
    38  
    39    INTEGER ::   nfrinf  = 4   ! number of variables written in one line  
    40    INTEGER ::   nferme        ! last time step at which the var. are written on file 
    41    INTEGER ::   nvinfo        ! number of total variables  
    42    INTEGER ::   nbvt          ! number of time variables 
    43    INTEGER ::   naveg         ! number of step for accumulation before averaging 
    44  
    45    CHARACTER(len= 8) ::   fmtinf  = '1PE13.5 '   ! format of the output values   
    46    CHARACTER(len=30) ::   fmtw, fmtr, fmtitr     ! various formats 
    47    CHARACTER(len=jpchsep), DIMENSION(jpinfmx) ::   titvar   ! title of key variables 
     30   PUBLIC               lim_dia_2          ! called by sbc_ice_lim_2 
     31   INTEGER, PUBLIC ::   ntmoy   = 1 ,   &  !: instantaneous values of ice evolution or averaging ntmoy 
     32      &                 ninfo   = 1        !: frequency of ouputs on file ice_evolu in case of averaging 
     33 
     34   INTEGER, PARAMETER ::   &  ! Parameters for outputs to files "evolu" 
     35      jpinfmx = 100         ,    &  ! maximum number of key variables 
     36      jpchinf = 5           ,    &  ! ??? 
     37      jpchsep = jpchinf + 2         ! ??? 
     38 
     39   INTEGER ::   & 
     40      nfrinf  = 4 ,     &  ! number of variables written in one line  
     41      nferme ,          &  ! last time step at which the var. are written on file 
     42      nvinfo ,          &  ! number of total variables  
     43      nbvt   ,          &  ! number of time variables 
     44      naveg                ! number of step for accumulation before averaging 
     45 
     46   CHARACTER(len= 8) ::   fmtinf  = '1PE13.5 ' ! format of the output values   
     47   CHARACTER(len=30) ::   fmtw  ,           &  ! formats 
     48      &                   fmtr  ,           &  ! ??? 
     49      &                   fmtitr               ! ??? 
     50   CHARACTER(len=jpchsep), DIMENSION(jpinfmx) ::   titvar               ! title of key variables 
    4851  
    4952   REAL(wp)                     ::   epsi06 = 1.e-06      ! ??? 
     
    5457#  include "vectopt_loop_substitute.h90" 
    5558   !!---------------------------------------------------------------------- 
    56    !! NEMO/LIM 3.3,  UCL-LOCEAN-IPSL (2010)  
     59   !!   LIM 2.0,  UCL-LOCEAN-IPSL (2005)  
    5760   !! $Id$ 
    5861   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     
    6871      !!      the temporal evolution of some key variables 
    6972      !!------------------------------------------------------------------- 
    70       INTEGER, INTENT(in) ::   kt   ! number of iteration 
     73      INTEGER, INTENT(in) ::   kt     ! number of iteration 
    7174      !! 
    7275      INTEGER  ::   jv,ji, jj   ! dummy loop indices 
    7376      INTEGER  ::   nv          ! indice of variable  
    74       REAL(wp) ::   zarea    , zldarea     ! sea-ice and leads area 
    75       REAL(wp) ::   zextent15, zextent85   ! sea-ice extent (15% and 85%) 
    76       REAL(wp) ::   zicevol  , zsnwvol     ! sea-ice and snow volume volume 
    77       REAL(wp) ::   zicespd                     ! sea-ice velocity 
     77      REAL(wp) ::   zarea    , zldarea  ,    &  ! sea-ice and leads area 
     78         &          zextent15, zextent85,    &  ! sea-ice extent (15% and 85%) 
     79         &          zicevol  , zsnwvol  ,    &  ! sea-ice and snow volume volume 
     80         &          zicespd                     ! sea-ice velocity 
    7881      REAL(wp), DIMENSION(jpinfmx) ::   vinfor  ! temporary working space  
    7982      !!------------------------------------------------------------------- 
     
    117120      vinfor(nv+13) = SQRT( vinfor(nv+13) / MAX( vinfor(nv+9) , epsi06 ) ) 
    118121 
     122 
    119123      ! variables in southern Hemis 
    120124       nv = nv + 1 
     
    173177       INTEGER  ::   nv            ! indice of variable  
    174178       REAL(wp) ::   zxx0, zxx1    ! temporary scalars 
    175        !! 
     179 
    176180       NAMELIST/namicedia/fmtinf, nfrinf, ninfo, ntmoy 
    177181       !!------------------------------------------------------------------- 
    178182 
    179        REWIND ( numnam_ice )                 ! Read Namelist namicedia 
     183       ! Read Namelist namicedia 
     184       REWIND ( numnam_ice ) 
    180185       READ   ( numnam_ice  , namicedia ) 
    181186        
    182        IF(lwp) THEN                          ! control print 
     187       IF(lwp) THEN 
    183188          WRITE(numout,*) 
    184189          WRITE(numout,*) 'lim_dia_init_2 : ice parameters for ice diagnostics ' 
     
    269274   !!   Default option :                           NO LIM 2.0 sea-ice model 
    270275   !!---------------------------------------------------------------------- 
     276CONTAINS 
     277   SUBROUTINE lim_dia_2         ! Empty routine 
     278   END SUBROUTINE lim_dia_2 
    271279#endif 
    272280 
Note: See TracChangeset for help on using the changeset viewer.