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.
Changeset 503 for trunk/NEMO/OPA_SRC/TRD/trdmod_oce.F90 – NEMO

Ignore:
Timestamp:
2006-09-27T10:52:29+02:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_update_064 : CT : general trends update including the addition of mean windows analysis possibility in the mixed layer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/TRD/trdmod_oce.F90

    r247 r503  
    44   !! Ocean trends :   set tracer and momentum trend variables 
    55   !!====================================================================== 
     6   !! History :  9.0  !  04-08  (C. Talandier) Original code 
    67   !!---------------------------------------------------------------------- 
    7    !!  OPA 9.0 , LOCEAN-IPSL (2005)  
    8    !! $Header$  
    9    !! This software is governed by the CeCILL licence see modipsl/doc/NEMO_CeCILL.txt  
    10    !!---------------------------------------------------------------------- 
    11    !! * Modules used 
    128   USE trdicp_oce              ! ocean momentum/tracers bassin properties trends variables 
    139   USE trdmld_oce              ! ocean active mixed layer tracers trends variables 
    1410   USE trdvor_oce              ! ocean vorticity trends variables 
    1511 
    16    !! Control parameters 
     12   IMPLICIT NONE 
     13   PUBLIC 
     14 
     15   !!* Namelist namtrd:  diagnostics on dynamics/tracer trends 
     16   INTEGER , PUBLIC ::    ntrd  = 10                    !: time step frequency dynamics and tracers trends 
     17   INTEGER , PUBLIC ::    nctls =  0                    !: control surface type for trends vertical integration 
     18   REAL(wp), PUBLIC ::    ucf   = 1.                    !: unit conversion factor (for netCDF trends outputs) 
     19                                                        !: =1. (=86400.) for degC/s (degC/day) and psu/s (psu/day) 
     20   LOGICAL , PUBLIC ::    ln_trdmld_instant = .FALSE.   !: flag to diagnose inst./mean ML T/S trends 
     21   LOGICAL , PUBLIC ::    ln_trdmld_restart = .FALSE.   !: flag to restart mixed-layer diagnostics 
     22 
     23   !!* Control parameters 
     24# if defined key_trdtra   ||   defined key_trdmld 
     25   LOGICAL , PUBLIC ::   l_trdtra = .TRUE.              !: tracers  trend flag 
     26# else 
     27   LOGICAL , PUBLIC ::   l_trdtra = .FALSE.             !: tracers  trend flag 
     28# endif 
     29# if defined key_trddyn   ||   defined key_trdvor 
     30   LOGICAL , PUBLIC ::   l_trddyn = .TRUE.              !: momentum trend flag 
     31# else 
     32   LOGICAL , PUBLIC ::   l_trddyn = .FALSE.             !: momentum trend flag 
     33# endif 
     34 
     35   !!* Active tracers trends indexes 
     36   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_xad =  1   !: x- horizontal advection 
     37   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_yad =  2   !: y- horizontal advection 
     38   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_zad =  3   !: z- vertical   advection 
     39   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_ldf =  4   !: lateral       diffusion 
     40   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_zdf =  5   !: vertical diffusion (Kz) 
     41   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_bbc =  6   !: Bottom Boundary Condition (geoth. flux)  
     42   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_bbl =  7   !: Bottom Boundary Layer (diffusive/convective) 
     43   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_npc =  8   !: static instability mixing 
     44   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_dmp =  9   !: damping 
     45   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_qsr = 10   !: penetrative solar radiation 
     46   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_nsr = 11   !: non solar radiation 
     47   INTEGER, PUBLIC, PARAMETER ::   jptra_trd_atf = 12   !: Asselin correction 
     48    
     49   !!* Momentum trends indexes 
     50   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_hpg =  1   !: hydrostatic pressure gradient  
     51   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_keg =  2   !: kinetic energy gradient 
     52   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_rvo =  3   !: relative vorticity 
     53   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_pvo =  4   !: planetary vorticity 
     54   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_ldf =  5   !: lateral diffusion 
     55   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_zad =  6   !: vertical advection 
     56   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_zdf =  7   !: vertical diffusion 
     57   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_spg =  8   !: surface pressure gradient 
     58   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_dat =  9   !: damping term 
     59   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_swf = 10   !: surface wind forcing 
     60   INTEGER, PUBLIC, PARAMETER ::   jpdyn_trd_bfr = 11   !: bottom friction  
     61 
    1762   !!---------------------------------------------------------------------- 
    18    LOGICAL, PUBLIC ::   l_trdtra = .FALSE.    !: tracers  trend flag 
    19    LOGICAL, PUBLIC ::   l_trddyn = .FALSE.    !: momentum trend flag 
    20  
    21   !!====================================================================== 
     63   !!  OPA 9.0 , LOCEAN-IPSL (2006)  
     64   !! $Header$  
     65   !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) 
     66   !!====================================================================== 
    2267END MODULE trdmod_oce 
Note: See TracChangeset for help on using the changeset viewer.