- Timestamp:
- 2011-02-26T13:31:38+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/dev_r2586_dynamic_mem/NEMOGCM/NEMO/OPA_SRC/DYN/dynspg_oce.F90
r2590 r2618 5 5 !! Ocean dynamics: Define in memory surface pressure gradient variables 6 6 !!====================================================================== 7 !! History : 1.0 ! 7 !! History : 1.0 ! 2005-12 (C. Talandier, G. Madec) Original code 8 8 !! 3.2 ! 2009-07 (R. Benshila) Suppression of rigid-lid option 9 9 !!---------------------------------------------------------------------- … … 30 30 #endif 31 31 32 !!gm BUG : always required in _ts, only some of them in vvl33 ! #if defined key_dynspg_ts || defined key_esopa34 !!gm end35 #if defined key_dynspg_ts || defined key_vvl || defined key_esopa36 ! !!! Time splitting scheme (sub-time step variables)37 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ua_e , va_e ! barotropic velocities (after)38 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshn_e, ssha_e, sshn_b ! sea surface heigth (now, after, average)39 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hu_e , hv_e ! now ocean depth ( = Ho+sshn_e )40 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hur_e , hvr_e ! inverse of the now depth ( = 1/(Ho+sshn_e) )41 #endif42 43 32 !!---------------------------------------------------------------------- 44 !! NEMO/OPA 3.2 , LODYC-IPSL (2009)33 !! NEMO/OPA 4.0 , LODYC-IPSL (2011) 45 34 !! $Id$ 46 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt)35 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 47 36 !!====================================================================== 48 CONTAINS49 50 FUNCTION dynspg_oce_alloc()51 IMPLICIT none52 INTEGER :: dynspg_oce_alloc53 54 dynspg_oce_alloc = 055 56 #if defined key_dynspg_ts || defined key_vvl || defined key_esopa57 ALLOCATE(ua_e(jpi,jpj), va_e(jpi,jpj) , &58 sshn_e(jpi,jpj), ssha_e(jpi,jpj), sshn_b(jpi,jpj), &59 hu_e(jpi,jpj), hv_e(jpi,jpj) , &60 hur_e(jpi,jpj), hvr_e(jpi,jpj) , &61 Stat=dynspg_oce_alloc)62 #endif63 64 END FUNCTION dynspg_oce_alloc65 66 37 END MODULE dynspg_oce
Note: See TracChangeset
for help on using the changeset viewer.