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
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)
[719]10   !! $Header$
[247]11   !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
[3]12   !!----------------------------------------------------------------------
[833]13#if defined key_lim2 || defined key_lim3
[3]14   !!----------------------------------------------------------------------
[833]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
[719]19   USE blk_oce         ! bulk parameters
[3]20
21   IMPLICIT NONE
[15]22   PRIVATE
[3]23 
24   !! Shared module variables
[833]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
[3]32
33   !!----------------------------------------------------------------------
34   !! ice-ocean common variables
35   !!----------------------------------------------------------------------
36# if defined key_coupled
[15]37   REAL(wp), PUBLIC, DIMENSION(jpiglo,jpjglo) ::   &  !: cumulated fields
38      fqsr_oce ,      &   !: Net short wave heat flux on free ocean
[833]39      fqsr_ice ,      &   !: Net short wave heat flux on sea ice
[15]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
[3]47# endif
[719]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
[833]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
[3]63   
[15]64   REAL(wp), PUBLIC ::   &  !:
65      rdt_ice,           &  !: ice time step
66      dtsd2                 !: ice time step divide by 2
[3]67
68#else
69   !!----------------------------------------------------------------------
70   !!   Default option                                 NO LIM sea-ice model
71   !!----------------------------------------------------------------------
[833]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
[3]74#endif
75
[719]76   INTEGER, PUBLIC ::   &  !: namdom : space/time domain (namlist)
77      nfice =  5           !: coupling frequency OPA ICELLN  nfice
78
[3]79   !!----------------------------------------------------------------------
80END MODULE ice_oce
Note: See TracBrowser for help on using the repository browser.