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

Ignore:
Timestamp:
2009-05-11T16:34:47+02:00 (15 years ago)
Author:
rblod
Message:

Merge VVL branch with the trunk (act II), see ticket #429

File:
1 edited

Legend:

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

    r1200 r1438  
    132132          
    133133      ENDIF 
    134  
    135       IF( lk_vvl .OR. lk_agrif ) THEN 
     134      ! 
     135      IF( lk_agrif ) THEN 
    136136         ! read free surface arrays in restart file 
    137137         IF( ln_rstart ) THEN 
    138138            IF( lk_dynspg_flt )   CALL flt_rst( nit000, 'READ' )      ! read or initialize the following fields 
    139             !                                                         ! gcx, gcxb, sshb, sshn 
    140             IF( lk_dynspg_ts  )   CALL ts_rst ( nit000, 'READ' )      ! read or initialize the following fields 
    141             !                                                         ! sshb, sshn, sshb_b, sshn_b, un_b, vn_b 
    142             IF( lk_dynspg_exp )   CALL exp_rst( nit000, 'READ' )      ! read or initialize the following fields 
    143             !                                                         ! sshb, sshn 
    144          ENDIF 
     139            !                                                         ! gcx, gcxb for agrif_opa_init 
     140         ENDIF                                                        ! explicit case not coded yet with AGRIF 
    145141      ENDIF 
    146  
    147       IF( lk_vvl ) THEN 
    148  
    149          ! 
    150          IF( .NOT. lk_dynspg_flt ) sshbb(:,:) = sshb(:,:) 
    151          ! 
    152          CALL dom_vvl               ! ssh init and vertical grid update 
    153  
    154          CALL eos_init              ! usefull to get the equation state type neos parameter 
    155  
    156          CALL bn2( tb, sb, rn2 )    ! before Brunt Vaissala frequency 
    157  
    158          IF( .NOT. ln_rstart ) CALL wzv( nit000 )  
    159  
    160       ENDIF 
    161  
    162       !                                       ! Vertical velocity 
    163       !                                       ! ----------------- 
    164  
    165       IF( .NOT. lk_vvl )    CALL wzv( nit000 )                         ! from horizontal divergence 
    166142      ! 
    167143   END SUBROUTINE istate_init 
Note: See TracChangeset for help on using the changeset viewer.