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 374 for trunk/NEMO/OPA_SRC/DYN/dynspg_ts.F90 – NEMO

Ignore:
Timestamp:
2006-01-03T16:04:15+01:00 (18 years ago)
Author:
opalod
Message:

nemo_v1_bugfix_015 : CT : - correct the initialization step

  • update comments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/NEMO/OPA_SRC/DYN/dynspg_ts.F90

    r371 r374  
    115115         IF(lwp) WRITE(numout,*) ' Number of sub cycle in 1 time-step (2 rdt) : icycle = ', FLOOR( 2*rdt/rdtbt ) 
    116116 
    117          IF( ln_rstart ) THEN 
     117         IF( .NOT. ln_rstart ) THEN 
    118118            ! initialize barotropic specific arrays 
    119119            sshb_b(:,:) = sshb(:,:) 
     
    158158      z2dt_b = 2.0 * rdt                                    ! baroclinic time step 
    159159      IF ( neuler == 0 .AND. kt == nit000 ) z2dt_b = rdt 
    160       zfact1 = 0.5 * 0.25                                     ! coefficient for vorticity estimates 
     160      zfact1 = 0.5 * 0.25                                   ! coefficient for vorticity estimates 
    161161      zfact2 = 0.5 * 0.5 
    162       zraur  = 1. / rauw                                   ! 1 / volumic mass of pure water 
     162      zraur  = 1. / rauw                                    ! 1 / volumic mass of pure water 
    163163       
    164164      ! ----------------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.