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 2399 for branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_iso_grif.F90 – NEMO

Ignore:
Timestamp:
2010-11-17T10:09:35+01:00 (13 years ago)
Author:
gm
Message:

v3.3beta: diaptr (poleward heat & salt transports) #759 : rewriting including dynamical allocation + DOCTOR names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/nemo_v3_3_beta/NEMOGCM/NEMO/OPA_SRC/TRA/traldf_iso_grif.F90

    r2371 r2399  
    4747   !! NEMO/OPA 3.3 , NEMO Consortium (2010) 
    4848   !! $Id$ 
    49    !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 
    50    !!---------------------------------------------------------------------- 
    51  
     49   !! Software governed by the CeCILL licence     (NEMOGCM/NEMO_CeCILL.txt) 
     50   !!---------------------------------------------------------------------- 
    5251CONTAINS 
    5352 
    54   SUBROUTINE tra_ldf_iso_grif( kt, cdtype, pgu, pgv,  & 
    55        &                                ptb, pta, kjpt, pahtb0 ) 
     53  SUBROUTINE tra_ldf_iso_grif( kt, cdtype, pgu, pgv,              & 
     54       &                                   ptb, pta, kjpt, pahtb0 ) 
    5655    !!---------------------------------------------------------------------- 
    5756    !!                  ***  ROUTINE tra_ldf_iso_grif  *** 
     
    316315       ! 
    317316       !                            ! "Poleward" diffusive heat or salt transports (T-S case only) 
    318        IF( cdtype == 'TRA' .AND. ln_diaptr .AND. ( MOD( kt, nf_ptr ) == 0 ) ) THEN 
    319          IF( jn == jp_tem)   pht_ldf(:) = ptr_vj( zftv(:,:,:) )        ! 3.3  names 
    320          IF( jn == jp_sal)   pst_ldf(:) = ptr_vj( zftv(:,:,:) ) 
     317       IF( cdtype == 'TRA' .AND. ln_diaptr .AND. ( MOD( kt, nn_fptr ) == 0 ) ) THEN 
     318         IF( jn == jp_tem)   htr_ldf(:) = ptr_vj( zftv(:,:,:) )        ! 3.3  names 
     319         IF( jn == jp_sal)   str_ldf(:) = ptr_vj( zftv(:,:,:) ) 
    321320       ENDIF 
    322321 
Note: See TracChangeset for help on using the changeset viewer.