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 2848 for branches/2011/dev_r2802_MERCATOR10_diadct/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90 – NEMO

Ignore:
Timestamp:
2011-09-21T12:33:48+02:00 (13 years ago)
Author:
cbricaud
Message:

add routines for online transports computing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_r2802_MERCATOR10_diadct/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90

    r2715 r2848  
    5757   USE sshwzv          ! vertical velocity used in asm 
    5858   USE diaptr          ! poleward transports           (dia_ptr_init routine) 
     59   USE diadct          ! sections transports           (dia_dct_init routine) 
    5960   USE diaobs          ! Observation diagnostics       (dia_obs_init routine) 
    6061   USE step            ! NEMO time-stepping                 (stp     routine) 
     
    345346      IF( lk_diaar5     )   CALL dia_ar5_init   ! ar5 diag 
    346347                            CALL dia_ptr_init   ! Poleward TRansports initialization 
     348      IF( lk_diadct     )   CALL dia_dct_init   ! Sections tranports 
    347349                            CALL dia_hsb_init   ! heat content, salt content and volume budgets 
    348350                            CALL trd_mod_init   ! Mixed-layer/Vorticity/Integral constraints trends 
     
    456458      CALL iom_close                                 ! close all input/output files managed by iom_* 
    457459      ! 
    458       IF( numstp     /= -1 )   CLOSE( numstp     )   ! time-step file 
    459       IF( numsol     /= -1 )   CLOSE( numsol     )   ! solver file 
    460       IF( numnam     /= -1 )   CLOSE( numnam     )   ! oce namelist 
    461       IF( numnam_ice /= -1 )   CLOSE( numnam_ice )   ! ice namelist 
    462       IF( numevo_ice /= -1 )   CLOSE( numevo_ice )   ! ice variables (temp. evolution) 
    463       IF( numout     /=  6 )   CLOSE( numout     )   ! standard model output file 
     460      IF( numstp      /= -1 )   CLOSE( numstp      )   ! time-step file 
     461      IF( numsol      /= -1 )   CLOSE( numsol      )   ! solver file 
     462      IF( numnam      /= -1 )   CLOSE( numnam      )   ! oce namelist 
     463      IF( numnam_ice  /= -1 )   CLOSE( numnam_ice  )   ! ice namelist 
     464      IF( numevo_ice  /= -1 )   CLOSE( numevo_ice  )   ! ice variables (temp. evolution) 
     465      IF( numout      /=  6 )   CLOSE( numout      )   ! standard model output file 
     466      IF( numdct_vol  /= -1 )   CLOSE( numdct_vol  )   ! volume transports 
     467      IF( numdct_heat /= -1 )   CLOSE( numdct_heat )   ! heat transports 
     468      IF( numdct_salt /= -1 )   CLOSE( numdct_salt )   ! salt transports 
     469 
    464470      ! 
    465471      numout = 6                                     ! redefine numout in case it is used after this point... 
Note: See TracChangeset for help on using the changeset viewer.