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 339 for trunk/NEMO/TOP_SRC/SMS/p4zsink2.F – NEMO

Ignore:
Timestamp:
2005-11-14T13:30:28+01:00 (19 years ago)
Author:
opalod
Message:

nemo_v1_update_027 : CE + RB + CT : update of SMS routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/TOP_SRC/SMS/p4zsink2.F

    r274 r339  
    1 CCC$Header$ 
    2 CCC  TOP 1.0 , LOCEAN-IPSL (2005) 
    3 C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt 
    4 C --------------------------------------------------------------------------- 
    51      SUBROUTINE p4zsink2(wstmp,sinktemp,jn) 
    62CDIR$ LIST 
     
    4541      USE sms 
    4642      IMPLICIT NONE 
     43#include "domzgr_substitute.h90" 
    4744CDIR$ LIST 
    4845CC----------------------------------------------------------------- 
     
    5754      REAL wstmp2(jpi,jpj,jpk) 
    5855 
    59 !!---------------------------------------------------------------------- 
    60 !! statement functions 
    61 !! =================== 
    62 !DIR$ NOLIST 
    63 #include "domzgr_substitute.h90" 
    64 !DIR$ LIST 
    6556!!!--------------------------------------------------------------------- 
    6657!!!  OPA8, LODYC (01/00) 
     
    135126         sinktemp(:,:,1)=0. 
    136127         sinktemp(:,:,jpk)=0. 
     128C 
     129       DO jk=1,jpkm1 
     130          DO jj = 1,jpj 
     131            DO ji = 1, jpi 
     132! 
     133            trn(ji,jj,jk,jn) = trn(ji,jj,jk,jn) 
     134     &        + (sinktemp(ji,jj,jk)-sinktemp(ji,jj,jk+1)) 
     135     &        /fse3t(ji,jj,jk) 
     136! 
     137            ENDDO 
     138          ENDDO 
     139        ENDDO 
     140! 
     141        trb(:,:,:,jn)=trn(:,:,:,jn) 
    137142! 
    138143#endif 
Note: See TracChangeset for help on using the changeset viewer.