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 3970 for branches/2013/dev_r3867_MERCATOR1_DYN/NEMOGCM/NEMO/OPA_SRC/DOM/dom_oce.F90 – NEMO

Ignore:
Timestamp:
2013-07-11T15:59:14+02:00 (11 years ago)
Author:
cbricaud
Message:

Time splitting update, see ticket #1079

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r3867_MERCATOR1_DYN/NEMOGCM/NEMO/OPA_SRC/DOM/dom_oce.F90

    r3851 r3970  
    158158   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:), TARGET ::   hur  , hvr    !: inverse of u and v-points ocean depth (1/m) 
    159159   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)         ::   hu   , hv     !: depth at u- and v-points (meters) 
    160    REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)         ::   hu_0 , hv_0   !: refernce depth at u- and v-points (meters) 
    161  
     160   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)         ::   hu_0 , hv_0   !: reference depth at u- and v-points (meters) 
     161   ! bg jchanut tschanges  
     162   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)         ::   ht   , hf     !: depth at t- and f-points (meters) 
     163   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)         ::   ht_0 , hf_0   !: reference depth at t- and f-points (meters) 
     164   ! end jchanut tschanges  
    162165   INTEGER, PUBLIC ::   nla10              !: deepest    W level Above  ~10m (nlb10 - 1) 
    163166   INTEGER, PUBLIC ::   nlb10              !: shallowest W level Bellow ~10m (nla10 + 1)  
     
    264267   INTEGER FUNCTION dom_oce_alloc() 
    265268      !!---------------------------------------------------------------------- 
    266       INTEGER, DIMENSION(11) :: ierr 
     269      ! bg jchanut tschanges 
     270      INTEGER, DIMENSION(13) :: ierr 
     271      ! end jchanut tschanges 
    267272      !!---------------------------------------------------------------------- 
    268273      ierr(:) = 0 
     
    314319      ALLOCATE( npcoa(4,jpk), nicoa(2*(jpi+jpj),4,jpk), njcoa(2*(jpi+jpj),4,jpk), STAT=ierr(11) ) 
    315320#endif 
     321      ! bg jchanut tschanges 
     322#if defined key_dynspg_ts 
     323      ALLOCATE( ht(jpi,jpj)  , hf(jpi,jpj)  , STAT=ierr(12) ) 
     324#if defined key_vvl 
     325      ALLOCATE( ht_0(jpi,jpj), hf_0(jpi,jpj), STAT=ierr(13) ) 
     326#endif 
     327#endif 
     328      ! end jchanut tschanges 
    316329      ! 
    317330      dom_oce_alloc = MAXVAL(ierr) 
Note: See TracChangeset for help on using the changeset viewer.