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 15027 for NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/IOM/restart.F90 – NEMO

Ignore:
Timestamp:
2021-06-19T10:14:22+02:00 (3 years ago)
Author:
techene
Message:

2605: restartability OK reproducibility ~OK (when not using RGBc) for MLF, restartability OK reproducibility OK for RK3 (with appropriate CFGs)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/dev_r14318_RK3_stage1/src/OCE/IOM/restart.F90

    r14992 r15027  
    325325      ! 
    326326      IF( .NOT.lk_SWE ) THEN 
    327          IF(.NOT. (iom_varid( numror, 'rhop', ldstop = .FALSE. ) > 0) ) THEN 
     327         IF( iom_varid( numror, 'rhop', ldstop = .FALSE. ) > 0 ) THEN 
     328            CALL iom_get( numror, jpdom_auto, 'rhop'   , rhop )   ! now    potential density 
     329         ELSE 
    328330#if defined key_RK3 
    329             CALL eos( ts(:,:,:,:,:), Kbb, rhop) 
     331            CALL eos( ts, Kbb, rhop ) 
    330332#else 
    331             CALL eos( ts(:,:,:,:,:), Kmm, rhop) 
    332          ELSE 
    333             CALL iom_get( numror, jpdom_auto, 'rhop'   , rhop )   ! now    potential density 
     333            CALL eos( ts, Kmm, rhop ) 
    334334#endif 
     335!!#if defined key_qco 
     336!!            ALLOCATE( zgdept(jpi,jpj,jpk) ) 
     337!!            DO jk = 1, jpk 
     338!!               zgdept(:,:,jk) = gdept(:,:,jk,Kmm) 
     339!!            END DO 
     340!!            CALL eos( ts(:,:,:,:,Kmm), rhd, rhop, zgdept ) 
     341!!            DEALLOCATE( zgdept ) 
     342!!#else 
     343!!            CALL eos( ts(:,:,:,:,Kmm), rhd, rhop, gdept(:,:,:,Kmm) ) 
     344!!#endif 
    335345         ENDIF 
    336346      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.