16 |
C tokens value into "data" (ie. 2 for 2nd order etc.) |
C tokens value into "data" (ie. 2 for 2nd order etc.) |
17 |
|
|
18 |
C !USES: |
C !USES: |
|
#include "GAD_OPTIONS.h" |
|
19 |
|
|
20 |
C !DEFINED PARAMETERS: |
C !DEFINED PARAMETERS: |
21 |
|
|
71 |
_RL oneSixth |
_RL oneSixth |
72 |
PARAMETER(oneSixth=1.D0/6.D0) |
PARAMETER(oneSixth=1.D0/6.D0) |
73 |
|
|
74 |
|
C loop range for computing vertical advection tendency |
75 |
|
C iMinAdvR,iMaxAdvR :: 1rst index (X-dir) loop range for vertical advection |
76 |
|
C jMinAdvR,jMaxAdvR :: 2nd index (Y-dir) loop range for vertical advection |
77 |
|
INTEGER iMinAdvR, iMaxAdvR, jMinAdvR, jMaxAdvR |
78 |
|
c PARAMETER ( iMinAdvR = 1-OLx , iMaxAdvR = sNx+OLx ) |
79 |
|
c PARAMETER ( jMinAdvR = 1-OLy , jMaxAdvR = sNy+OLy ) |
80 |
|
C- note: we use to compute vertical advection tracer tendency everywhere |
81 |
|
C (overlap included) as above, but really needs valid tracer tendency |
82 |
|
C in interior only (as below): |
83 |
|
PARAMETER ( iMinAdvR = 1 , iMaxAdvR = sNx ) |
84 |
|
PARAMETER ( jMinAdvR = 1 , jMaxAdvR = sNy ) |
85 |
|
|
86 |
C Differentiate between tracers (needed for KPP - arrgh!!!) |
C Differentiate between tracers (needed for KPP - arrgh!!!) |
87 |
cph and GMRedi arrgh*arrgh!!!) |
cph and GMRedi arrgh*arrgh!!!) |
88 |
cph indices are used for TAF key computations, so need to |
cph indices are used for TAF key computations, so need to |
108 |
C AdamsBashforthGs :: apply Adams-Bashforth extrapolation on S tendency (=Gs) |
C AdamsBashforthGs :: apply Adams-Bashforth extrapolation on S tendency (=Gs) |
109 |
C AdamsBashforth_T :: apply Adams-Bashforth extrapolation on Pot.Temp. |
C AdamsBashforth_T :: apply Adams-Bashforth extrapolation on Pot.Temp. |
110 |
C AdamsBashforth_S :: apply Adams-Bashforth extrapolation on Salinity |
C AdamsBashforth_S :: apply Adams-Bashforth extrapolation on Salinity |
|
C tempStartAB :: start this run (or restart) without previous gT/Temp |
|
|
C saltStartAB :: start this run (or restart) without previous gS/Salt |
|
111 |
LOGICAL tempSOM_Advection |
LOGICAL tempSOM_Advection |
112 |
LOGICAL saltSOM_Advection |
LOGICAL saltSOM_Advection |
113 |
LOGICAL tempMultiDimAdvec |
LOGICAL tempMultiDimAdvec |
116 |
LOGICAL AdamsBashforthGs |
LOGICAL AdamsBashforthGs |
117 |
LOGICAL AdamsBashforth_T |
LOGICAL AdamsBashforth_T |
118 |
LOGICAL AdamsBashforth_S |
LOGICAL AdamsBashforth_S |
|
LOGICAL tempStartAB |
|
|
LOGICAL saltStartAB |
|
119 |
COMMON /GAD_PARM_L/ |
COMMON /GAD_PARM_L/ |
120 |
& tempSOM_Advection, saltSOM_Advection, |
& tempSOM_Advection, saltSOM_Advection, |
121 |
& tempMultiDimAdvec, saltMultiDimAdvec, |
& tempMultiDimAdvec, saltMultiDimAdvec, |
122 |
& AdamsBashforthGt, AdamsBashforthGs, |
& AdamsBashforthGt, AdamsBashforthGs, |
123 |
& AdamsBashforth_T, AdamsBashforth_S, |
& AdamsBashforth_T, AdamsBashforth_S |
|
& tempStartAB, saltStartAB |
|
124 |
|
|
125 |
CEH3 ;;; Local Variables: *** |
CEH3 ;;; Local Variables: *** |
126 |
CEH3 ;;; mode:fortran *** |
CEH3 ;;; mode:fortran *** |