Changes between Version 9 and Version 10 of ticket/0842_TRA_TRP
- Timestamp:
- 2011-08-02T12:46:04+02:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ticket/0842_TRA_TRP
v9 v10 66 66 * in AGRIF 67 67 68 {{{ 69 SUBROUTINE dyn_vor( kt ) 70 !!---------------------------------------------------------------------- 71 !! 72 !! ** Purpose : compute the lateral ocean tracer physics. 73 !! 74 !! ** Action : - Update (ua,va) with the now vorticity term trend 75 !! - save the trends in (ztrdu,ztrdv) in 2 parts (relative 76 !! and planetary vorticity trends) ('key_trddyn') 77 !!---------------------------------------------------------------------- 78 USE oce, ONLY : ztrdu => ta ! use ta as 3D workspace 79 USE oce, ONLY : ztrdv => sa ! use sa as 3D workspace 80 !! 81 INTEGER, INTENT( in ) :: kt ! ocean time-step index 82 !!---------------------------------------------------------------------- 83 }}} 68 84 85 {{{ 86 SUBROUTINE dyn_vor( kt ) 87 !!---------------------------------------------------------------------- 88 !! 89 !! ** Purpose : compute the lateral ocean tracer physics. 90 !! 91 !! ** Action : - Update (ua,va) with the now vorticity term trend 92 !! - save the trends in (ztrdu,ztrdv) in 2 parts (relative 93 !! and planetary vorticity trends) ('key_trddyn') 94 !!---------------------------------------------------------------------- 95 USE oce, ONLY: tsa ! tsa used as 2 3D workspace 96 !! 97 INTEGER, INTENT( in ) :: kt ! ocean time-step index 98 ! 99 REAL(wp), POINTER, DIMENSION(:,:,:) :: ztrdu, ztrdv 100 !!---------------------------------------------------------------------- 101 ! 102 IF( l_trddyn ) THEN 103 ztrdu => tsa(:,:,:,1) 104 ztrdv => tsa(:,:,:,2) 105 END IF 106 }}} 69 107 ''' 70 108 ----