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 @ 868

Last change on this file since 868 was 833, checked in by rblod, 16 years ago

Merge branche dev_002_LIM back to trunk ticket #70 and #71

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 3.7 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_lim3        = .FALSE.   !: LIM3 ice model
28# else
29   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .FALSE.   !: LIM2 ice model
30   LOGICAL, PUBLIC, PARAMETER ::   lk_lim3        = .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 heat 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# if defined key_lim3
58   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !: field exchanges with ice model to ocean
59      catm_ice       , &  !: cloud cover
60      tatm_ice       , &  !: air temperature
61      icethi              !: icethickness
62# endif
63   
64   REAL(wp), PUBLIC ::   &  !:
65      rdt_ice,           &  !: ice time step
66      dtsd2                 !: ice time step divide by 2
67
68#else
69   !!----------------------------------------------------------------------
70   !!   Default option                                 NO LIM sea-ice model
71   !!----------------------------------------------------------------------
72   LOGICAL, PUBLIC, PARAMETER ::   lk_lim2        = .FALSE.  !: No LIM 2.0 ice model
73   LOGICAL, PUBLIC, PARAMETER ::   lk_lim3        = .FALSE.  !: No LIM 3.0 ice model
74#endif
75
76   INTEGER, PUBLIC ::   &  !: namdom : space/time domain (namlist)
77      nfice =  5           !: coupling frequency OPA ICELLN  nfice
78
79   !!----------------------------------------------------------------------
80END MODULE ice_oce
Note: See TracBrowser for help on using the repository browser.