/[MITgcm]/MITgcm/pkg/generic_advdiff/GAD.h
ViewVC logotype

Diff of /MITgcm/pkg/generic_advdiff/GAD.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.16 by adcroft, Sat Jan 20 21:20:11 2007 UTC revision 1.19 by jmc, Fri Oct 19 14:43:10 2007 UTC
# Line 16  C tokens in namelist input so for now we Line 16  C tokens in namelist input so for now we
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    
# Line 72  C oneSixth :: Third/fourth order interpo Line 71  C oneSixth :: Third/fourth order interpo
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
# Line 97  C AdamsBashforthGt  :: apply Adams-Bashf Line 108  C AdamsBashforthGt  :: apply Adams-Bashf
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
# Line 107  C saltStartAB       :: start this run (o Line 116  C saltStartAB       :: start this run (o
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 ***

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.19

  ViewVC Help
Powered by ViewVC 1.1.22