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 3106 for branches/2011 – NEMO

Changeset 3106 for branches/2011


Ignore:
Timestamp:
2011-11-15T12:40:00+01:00 (13 years ago)
Author:
cbricaud
Message:

change tn and sn by tsn

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2011/dev_LOCEAN_CMCC_INGV_MERCATOR_2011/NEMOGCM/NEMO/OPA_SRC/DIA/diadct.F90

    r3104 r3106  
    641641                 SELECT CASE( sec%direction(jseg) ) 
    642642                 CASE(0,1) 
    643                     ztn   = interp(k%I,k%J,jk,'V',tn) 
    644                     zsn   = interp(k%I,k%J,jk,'V',sn) 
     643                    ztn   = interp(k%I,k%J,jk,'V',tsn(:,:,:,jp_tem) ) 
     644                    zsn   = interp(k%I,k%J,jk,'V',tsn(:,:,:,jp_sal) ) 
    645645                    zrhop = interp(k%I,k%J,jk,'V',rhop) 
    646646                    zrhoi = interp(k%I,k%J,jk,'V',rhd*rau0+rau0) 
    647647                    zsshn =  0.5*( sshn(k%I,k%J)    + sshn(k%I,k%J+1)    ) * vmask(k%I,k%J,1) 
    648648                 CASE(2,3) 
    649                     ztn   = interp(k%I,k%J,jk,'U',tn) 
    650                     zsn   = interp(k%I,k%J,jk,'U',sn) 
     649                    ztn   = interp(k%I,k%J,jk,'U',tsn(:,:,:,jp_tem) ) 
     650                    zsn   = interp(k%I,k%J,jk,'U',tsn(:,:,:,jp_sal) ) 
    651651                    zrhop = interp(k%I,k%J,jk,'U',rhop) 
    652652                    zrhoi = interp(k%I,k%J,jk,'U',rhd*rau0+rau0) 
Note: See TracChangeset for help on using the changeset viewer.