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 11180 for NEMO/branches/UKMO/NEMO_4.0_surge/src/OCE/DOM/istate.F90 – NEMO

Ignore:
Timestamp:
2019-06-25T18:50:27+02:00 (5 years ago)
Author:
clne
Message:

Initial commit of code for 2d (surge) work in NEMO4.
This is aiming to replicate the 3.6 version in branches/UKMO/dev_r5518_Surge_Modelling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/UKMO/NEMO_4.0_surge/src/OCE/DOM/istate.F90

    r10888 r11180  
    9696         !                                    ! Initialization of ocean to zero 
    9797         ! 
    98          IF( ln_tsd_init ) THEN                
     98         IF (ln_2d) THEN  
     99            IF(lwp) WRITE(numout,*) 'istate_init : 2D case, setting tracers to contants and ocean at rest'  
     100            tsb(:,:,:,:)= 15._wp               ! No tracers, but can't set salinity to 0 otherwise it triggers crash message 
     101            sshb(:,:)   = 0._wp                ! set the ocean at rest 
     102            ub  (:,:,:) = 0._wp                 
     103            vb  (:,:,:) = 0._wp            
     104         ELSE IF( ln_tsd_init ) THEN    
    99105            CALL dta_tsd( nit000, tsb )       ! read 3D T and S data at nit000 
    100106            ! 
Note: See TracChangeset for help on using the changeset viewer.