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 trunk/NEMO/OPA_SRC – NEMO

source: trunk/NEMO/OPA_SRC/ice_oce.F90 @ 914

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

merge dev_001_SBC branche with the trunk to include the New Surface Module package, see ticket: #113

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.1 KB
RevLine 
[3]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   !!----------------------------------------------------------------------
[247]9   !!  OPA 9.0 , LOCEAN-IPSL (2005)
[888]10   !! $Id$
[247]11   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
[3]12   !!----------------------------------------------------------------------
[888]13#if defined key_lim3 || defined key_lim2
[3]14   !!----------------------------------------------------------------------
[888]15   !!   'key_lim2' or 'key_lim3'   :               LIM 2.0 or 3.0 ice model
[3]16   !!----------------------------------------------------------------------
17   !! * Modules used
18   USE par_oce         ! ocean parameters
19
20   IMPLICIT NONE
[15]21   PRIVATE
[3]22 
23   !! Shared module variables
[833]24# if defined  key_lim2
25   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .TRUE.    !: LIM2 ice model
26   LOGICAL, PUBLIC, PARAMETER ::   lk_lim3        = .FALSE.   !: LIM3 ice model
27# else
28   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .FALSE.   !: LIM2 ice model
29   LOGICAL, PUBLIC, PARAMETER ::   lk_lim3        = .TRUE.    !: LIM3 ice model
30# endif
[3]31
32   !!----------------------------------------------------------------------
33   !! ice-ocean common variables
34   !!----------------------------------------------------------------------
35# if defined key_coupled
[15]36   REAL(wp), PUBLIC, DIMENSION(jpiglo,jpjglo) ::   &  !: cumulated fields
37      fqsr_oce ,      &   !: Net short wave heat flux on free ocean
[833]38      fqsr_ice ,      &   !: Net short wave heat flux on sea ice
[15]39      fqnsr_oce,      &   !: Net longwave heat flux on free ocean
40      fqnsr_ice,      &   !: Net longwave heat flux on sea ice
41      fdqns_ice,      &   !: Derivative of non solar heat flux on sea ice
42      ftprecip ,      &   !: Water flux (liquid precipitation - evaporation)
43      fsprecip ,      &   !: Solid (snow) precipitation
44      frunoff  ,      &   !: runoff
45      fcalving            !: Iceberg calving
[3]46# endif
[719]47
[833]48# if defined key_lim3
49   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !: field exchanges with ice model to ocean
50      catm_ice       , &  !: cloud cover
51      tatm_ice       , &  !: air temperature
52      icethi              !: icethickness
53# endif
[3]54   
[15]55   REAL(wp), PUBLIC ::   &  !:
56      rdt_ice,           &  !: ice time step
57      dtsd2                 !: ice time step divide by 2
[3]58
59#else
60   !!----------------------------------------------------------------------
[888]61   !!   Default option                      NO LIM 2.0 or 3.0 sea-ice model
[3]62   !!----------------------------------------------------------------------
[833]63   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .FALSE.  !: No LIM 2.0 ice model
64   LOGICAL, PUBLIC, PARAMETER ::   lk_lim3        = .FALSE.  !: No LIM 3.0 ice model
[3]65#endif
66
67   !!----------------------------------------------------------------------
68END MODULE ice_oce
Note: See TracBrowser for help on using the repository browser.