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 177 for trunk/NEMO/OPA_SRC/restart.F90 – NEMO

Ignore:
Timestamp:
2004-11-05T15:01:20+01:00 (19 years ago)
Author:
opalod
Message:

CT : BUGFIX122 : improve restart case when changing the time steps between 2 simulations

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/restart.F90

    r146 r177  
    426426       
    427427      CALL restclo( inum ) 
     428  ! In case of restart with neuler = 0 then put all before fields = to now fields 
     429    IF ( neuler == 0 ) THEN 
     430      tb(:,:,:)=tn(:,:,:) 
     431      sb(:,:,:)=sn(:,:,:) 
     432      ub(:,:,:)=un(:,:,:) 
     433      vb(:,:,:)=vn(:,:,:) 
     434      rotb(:,:,:)=rotn(:,:,:) 
     435      hdivb(:,:,:)=hdivn(:,:,:) 
     436#if defined key_dynspg_fsc 
     437    ! free surface formulation (eta) 
     438      sshb(:,:)=sshn(:,:) 
     439#else 
     440    ! rigid lid 
     441      bsfb(:,:)=bsfn(:,:) 
     442#endif 
     443    ENDIF 
    428444 
    429445   END SUBROUTINE rst_read 
Note: See TracChangeset for help on using the changeset viewer.