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 132 for trunk/NEMO/OPA_SRC/step.F90 – NEMO

Ignore:
Timestamp:
2004-07-07T14:51:53+02:00 (20 years ago)
Author:
opalod
Message:

CT : UPDATE082 : Finalization of the poleward transport diagnostics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/step.F90

    r108 r132  
    109109   USE trdvor          ! vorticity budget                 (trd_vor routine) 
    110110   USE diahdy          ! dynamic height                   (dia_hdy routine) 
    111    USE ptr             ! poleward transports         (dia_ptr_init routine) 
    112    !                   !                                  (dia_ptr routine) 
     111   USE diaptr          ! poleward transports              (dia_ptr routine) 
    113112   USE diahth          ! thermocline depth                (dia_hth routine) 
    114113   USE diafwb          ! freshwater budget                (dia_fwb routine) 
     
    210209            CALL dia_wri_state( 'output.init' ) 
    211210         ENDIF 
    212          IF( lk_diaptr ) CALL dia_ptr_init            ! Poleward TRansport initialization 
    213  
    214211      ENDIF 
    215212 
     
    447444         IF( lk_diahdy  )   CALL dia_hdy( kstp )                 ! dynamical heigh diagnostics 
    448445         IF( lk_diafwb  )   CALL dia_fwb( kstp )                 ! Fresh water budget diagnostics 
    449 #if defined key_diaptr 
    450          IF( kstp == nit000 .OR. MOD( kstp, nf_ptr ) == 0 )   & 
     446 
     447         IF( ln_diaptr .AND. ( kstp == nit000 .OR. MOD( kstp, nf_ptr ) == 0 ) )  & 
    451448                            CALL dia_ptr( kstp )                 ! Poleward TRansports diagnostics 
    452 #endif 
    453449 
    454450         !                                         ! save and outputs 
Note: See TracChangeset for help on using the changeset viewer.