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 14224 for NEMO/trunk/tests/CANAL/MY_SRC/usrdef_istate.F90 – NEMO

Ignore:
Timestamp:
2020-12-19T15:49:56+01:00 (4 years ago)
Author:
smasson
Message:

trunk: minor bugfix in CANAL and with ln_dyn_trd

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/tests/CANAL/MY_SRC/usrdef_istate.F90

    r14133 r14224  
    7676      CASE(-1)    ! stratif at rest 
    7777 
    78          ! sea level: 
    79          pssh(:,:) = 0. 
    8078         ! temperature: 
    8179         pts(:,:,1,jp_tem) = 25. !!30._wp 
     
    146144         ! salinity:   
    147145         DO jk=1, jpkm1 
    148             pts(:,:,jk,jp_sal) = pssh(:,:) 
     146            pts(:,:,jk,jp_sal) = gphit(:,:) 
    149147         END DO 
    150148         ! velocities: 
Note: See TracChangeset for help on using the changeset viewer.