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.
flx_oce.F90 in trunk/NEMO/OPA_SRC/SBC – NEMO

source: trunk/NEMO/OPA_SRC/SBC/flx_oce.F90 @ 60

Last change on this file since 60 was 60, checked in by opalod, 20 years ago

CT : BUGFIX034 : Compilation error corrected when using key_flx_forced_daily cpp key. Due to the wrong arrays dimension declaration in flx_oce.F90

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1MODULE flx_oce
2   !!======================================================================
3   !!                 ***  MODULE  flx_oce  ***
4   !!        parameter and  variables defined in memory in forced mode
5   !!======================================================================
6   !! History :
7   !!   8.5  !  02-11  (C. Ethe)  F90: Free form and module
8   !!----------------------------------------------------------------------
9   !!  OPA 9.0 , LODYC-IPSL   (2003)
10   !!----------------------------------------------------------------------
11   !! * Modules used
12   USE par_oce          ! ocean parameters
13
14   IMPLICIT NONE
15   PRIVATE
16   
17
18   !!----------------------------------------------------------------------
19   !! fluxes common variables
20   !!----------------------------------------------------------------------
21#if defined key_flx_forced_daily
22   !!----------------------------------------------------------------------
23   !! 'key_flx_forced_daily'
24   !!----------------------------------------------------------------------
25   REAL(wp), PUBLIC, DIMENSION(jpi,jpj) ::   &  !:
26      p_qt ,        &   !: total heat flux ( solar + non solar)
27      p_qsr,        &   !: solar heat flux
28      p_emp             !: evaporation minus precipitation           
29
30#elif defined key_ice_lim || defined key_flx_bulk_monthly || defined key_flx_bulk_daily
31   REAL(wp), PUBLIC, DIMENSION(jpi,jpj)    ::   &  !:
32      qsr_ice  ,      &  !: solar flux over ice
33      qsr_oce  ,      &  !: solar flux over ocean
34      qnsr_oce ,      &  !: total non solar heat flux (Longwave downward radiation) over ocean
35      qnsr_ice ,      &  !: total non solar heat flux (Longwave downward radiation) over ice
36      tprecip  ,      &  !: total precipitation ( or liquid precip minus evaporation in coupled mode)
37      sprecip  ,      &  !: solid (snow) precipitation
38      dqns_ice ,      &  !: total non solar sensibility over ice (LW+SEN+LA)
39      tn_ice   ,      &  !: ice surface temperature
40#if ! defined key_coupled
41      fr1_i0   ,      &  !: 1st part of the fraction of sol. rad.  which penetrate inside the ice cover
42      fr2_i0   ,      &  !: 2nd part of the fraction of sol. rad.  which penetrate inside the ice cover
43      qla_ice  ,      &  !: latent flux over ice 
44      dqla_ice ,      &  !: latent sensibility over ice
45      evap               !: evaporation over ocean
46#else
47      rrunoff  ,      &  !: runoff
48      calving  ,      &  !: calving
49      alb_ice            !: albedo of ice     
50#endif
51
52#else
53   !!----------------------------------------------------------------------
54   !!   Default option                                         Empty module
55   !!----------------------------------------------------------------------
56   
57#endif
58
59   !!----------------------------------------------------------------------
60END MODULE flx_oce
Note: See TracBrowser for help on using the repository browser.