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.
ice_oce.F90 in branches/dev_002_LIM/NEMO/OPA_SRC – NEMO

source: branches/dev_002_LIM/NEMO/OPA_SRC/ice_oce.F90 @ 826

Last change on this file since 826 was 826, checked in by ctlod, 16 years ago

dev_002_LIM: change remaining cpp key key_ice_lim into key_lim3, see ticket:#71

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.4 KB
Line 
1MODULE ice_oce
2   !!======================================================================
3   !!                 ***  MODULE  ice_oce  ***
4   !! Ocean - ice  :  ice variables defined in memory
5   !!======================================================================
6   !! History :
7   !!   8.5  !  02-11  (G. Madec)  F90: Free form and module
8   !!----------------------------------------------------------------------
9   !!  OPA 9.0 , LOCEAN-IPSL (2005)
10   !! $Header$
11   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
12   !!----------------------------------------------------------------------
13#if defined key_lim2 || defined key_lim3
14   !!----------------------------------------------------------------------
15   !!   'key_lim2 or key_lim3 '   :             LIM 2.0 or 3.0 ice model
16   !!----------------------------------------------------------------------
17   !! * Modules used
18   USE par_oce         ! ocean parameters
19   USE blk_oce         ! bulk parameters
20
21   IMPLICIT NONE
22   PRIVATE
23 
24   !! Shared module variables
25# if defined  key_lim2
26   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .TRUE.    !: LIM2 ice model
27   LOGICAL, PUBLIC, PARAMETER ::   lk_ice_lim     = .FALSE.   !: LIM3 ice model
28# else
29   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .FALSE.   !: LIM2 ice model
30   LOGICAL, PUBLIC, PARAMETER ::   lk_ice_lim     = .TRUE.    !: LIM3 ice model
31# endif
32
33   !!----------------------------------------------------------------------
34   !! ice-ocean common variables
35   !!----------------------------------------------------------------------
36# if defined key_coupled
37   REAL(wp), PUBLIC, DIMENSION(jpiglo,jpjglo) ::   &  !: cumulated fields
38      fqsr_oce ,      &   !: Net short wave heat flux on free ocean
39      fqsr_ice ,      &   !: Net short wave het flux on sea ice
40      fqnsr_oce,      &   !: Net longwave heat flux on free ocean
41      fqnsr_ice,      &   !: Net longwave heat flux on sea ice
42      fdqns_ice,      &   !: Derivative of non solar heat flux on sea ice
43      ftprecip ,      &   !: Water flux (liquid precipitation - evaporation)
44      fsprecip ,      &   !: Solid (snow) precipitation
45      frunoff  ,      &   !: runoff
46      fcalving            !: Iceberg calving
47# endif
48
49   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !: field exchanges with ice model to ocean
50      sst_io, sss_io , &  !: sea surface temperature (C) and salinity (PSU)
51      u_io  , v_io   , &  !: velocity at ice surface (m/s)
52      fsolar, fnsolar, &  !: solar and non-solar heat fluxes (W/m2)
53      fsalt , fmass  , &  !: salt and freshwater fluxes
54      ftaux , ftauy  , &  !: wind stresses
55      gtaux , gtauy       !: wind stresses
56   
57   REAL(wp), PUBLIC ::   &  !:
58      rdt_ice,           &  !: ice time step
59      dtsd2                 !: ice time step divide by 2
60
61#else
62   !!----------------------------------------------------------------------
63   !!   Default option                                 NO LIM sea-ice model
64   !!----------------------------------------------------------------------
65   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .FALSE.  !: No LIM 2.0 ice model
66   LOGICAL, PUBLIC, PARAMETER ::   lk_ice_lim     = .FALSE.  !: No LIM 3.0 ice model
67#endif
68
69   INTEGER, PUBLIC ::   &  !: namdom : space/time domain (namlist)
70      nfice =  5           !: coupling frequency OPA ICELLN  nfice
71
72   !!----------------------------------------------------------------------
73END MODULE ice_oce
Note: See TracBrowser for help on using the repository browser.