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 1493 – NEMO

Changeset 1493


Ignore:
Timestamp:
2009-07-17T14:27:43+02:00 (15 years ago)
Author:
ctlod
Message:

ensure restartability of GYRE & GYRE_LOBSTER configurations, see ticket: #473

Location:
trunk/NEMO/OPA_SRC
Files:
2 edited

Legend:

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

    r1146 r1493  
    5656   REAL(wp), PUBLIC ::   rbeta  = 7.7e-4   !: saline  expension coeff. (linear equation of state) 
    5757    
    58    INTEGER ::   neos_init = 0         !: control flag for initialization 
    59  
    6058   !! * Substitutions 
    6159#  include "domzgr_substitute.h90" 
     
    119117      !!---------------------------------------------------------------------- 
    120118 
    121       IF( neos_init == 0 ) CALL eos_init      ! initialization (in not already done) 
    122  
    123119      SELECT CASE ( neos ) 
    124120      ! 
     
    277273      REAL(wp), DIMENSION(jpi,jpj,jpk) ::   zws 
    278274      !!---------------------------------------------------------------------- 
    279  
    280       IF( neos_init == 0 ) CALL eos_init      ! initialization (in not already done) 
    281275 
    282276      SELECT CASE ( neos ) 
     
    433427      !!---------------------------------------------------------------------- 
    434428 
    435       IF( neos_init == 0 ) CALL eos_init      ! initialization (in not already done) 
    436  
    437429      prd(:,:) = 0.e0 
    438430 
     
    722714      NAMELIST/nameos/ neos, ralpha, rbeta 
    723715 
    724       neos_init = 1               ! indicate that the initialization has been done 
    725  
    726716      REWIND( numnam )            ! Read Namelist nameos : equation of state 
    727717      READ  ( numnam, nameos ) 
  • trunk/NEMO/OPA_SRC/opa.F90

    r1412 r1493  
    272272      CALL phy_cst                          ! Physical constants 
    273273 
     274      CALL eos_init                         ! Equation of state 
     275 
    274276      CALL dom_cfg                          ! Domain configuration 
    275277       
Note: See TracChangeset for help on using the changeset viewer.