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

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

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


Revision 1.12 - (show annotations) (download)
Wed May 5 07:15:41 2004 UTC (20 years ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint57m_post, checkpoint57g_pre, checkpoint57s_post, checkpoint57b_post, checkpoint57g_post, checkpoint56b_post, checkpoint54d_post, checkpoint54e_post, checkpoint57r_post, checkpoint57d_post, checkpoint57i_post, checkpoint55, checkpoint54, checkpoint57, checkpoint56, checkpoint53, checkpoint57n_post, checkpoint54f_post, checkpoint55i_post, checkpoint57l_post, checkpoint57t_post, checkpoint55c_post, checkpoint57v_post, checkpoint57f_post, checkpoint53d_post, checkpoint57a_post, checkpoint57h_pre, checkpoint54b_post, checkpoint57h_post, checkpoint55g_post, checkpoint57c_post, checkpoint55d_post, checkpoint54a_pre, checkpoint53c_post, checkpoint55d_pre, checkpoint57c_pre, checkpoint55j_post, checkpoint54a_post, checkpoint55h_post, checkpoint57e_post, checkpoint55b_post, checkpoint53a_post, checkpoint55f_post, checkpoint53g_post, checkpoint57p_post, checkpint57u_post, checkpoint57q_post, eckpoint57e_pre, checkpoint56a_post, checkpoint53f_post, checkpoint57h_done, checkpoint57j_post, checkpoint57f_pre, checkpoint52n_post, checkpoint53b_pre, checkpoint56c_post, checkpoint57a_pre, checkpoint55a_post, checkpoint57o_post, checkpoint57k_post, checkpoint53b_post, checkpoint53d_pre, checkpoint55e_post, checkpoint54c_post
Changes since 1.11: +2 -2 lines
File MIME type: text/plain
Fooling around with ApiReference for pkg/kpp, pkg/sbo, and pkg/seaice

1 C $Header: /u/gcmpack/MITgcm/pkg/generic_advdiff/GAD.h,v 1.11 2004/03/29 03:33:51 edhill Exp $
2 C $Name: $
3
4 CBOP
5 C !ROUTINE: GAD.h
6
7 C !INTERFACE:
8 C #include "GAD.h"
9
10 C !DESCRIPTION:
11 C Contains enumerated constants for distinguishing between different
12 C advection schemes and tracers.
13 C
14 C Unfortunately, there is no easy way to make use of the
15 C tokens in namelist input so for now we have to enter the
16 C tokens value into "data" (ie. 2 for 2nd order etc.)
17
18 C !USES:
19 #include "GAD_OPTIONS.h"
20
21 C !DEFINED PARAMETERS:
22
23 C ENUM_CENTERED_2ND :: Centered 2nd order
24 INTEGER ENUM_CENTERED_2ND
25 PARAMETER(ENUM_CENTERED_2ND=2)
26
27 C ENUM_UPWIND_3RD :: 3rd order upwind
28 INTEGER ENUM_UPWIND_3RD
29 PARAMETER(ENUM_UPWIND_3RD=3)
30
31 C ENUM_CENTERED_4TH :: Centered 4th order
32 INTEGER ENUM_CENTERED_4TH
33 PARAMETER(ENUM_CENTERED_4TH=4)
34
35 C ENUM_FLUX_LIMIT :: Non-linear flux limiter
36 INTEGER ENUM_FLUX_LIMIT
37 PARAMETER(ENUM_FLUX_LIMIT=77)
38
39 C ENUM_DST3 :: 3-DST
40 INTEGER ENUM_DST3
41 PARAMETER(ENUM_DST3=30)
42
43 C ENUM_DST3_FLUX_LIMIT :: 3-DST flux limited
44 INTEGER ENUM_DST3_FLUX_LIMIT
45 PARAMETER(ENUM_DST3_FLUX_LIMIT=33)
46
47 C oneSixth :: Third/fourth order interpolation factor
48 _RL oneSixth
49 PARAMETER(oneSixth=1.D0/6.D0)
50
51 C Differentiate between tracers (needed for KPP - arrgh!!!)
52 cph and GMRedi arrgh*arrgh!!!)
53 cph indices are used for TAF key computations, so need to
54 cph running from 1, 2, ...
55 c
56 C GAD_TEMPERATURE :: temperature
57 INTEGER GAD_TEMPERATURE
58 PARAMETER(GAD_TEMPERATURE=1)
59 C GAD_SALINITY :: salinity
60 INTEGER GAD_SALINITY
61 PARAMETER(GAD_SALINITY=2)
62 C GAD_TR1 :: passive tracer 1
63 INTEGER GAD_TR1
64 PARAMETER(GAD_TR1=3)
65 CEOP
66
67 C-- COMMON /GAD_PARM_L/ Logical parameters for GAD pkg routines
68 C tempMultiDimAdvec :: set to T if using multi-dim advection for Temp
69 C saltMultiDimAdvec :: set to T if using multi-dim advection for Salt
70 C tempAdamsBashforth :: set to T if using Adams-Bashforth stepping for Temp
71 C saltAdamsBashforth :: set to T if using Adams-Bashforth stepping for Salt
72 LOGICAL tempMultiDimAdvec
73 LOGICAL saltMultiDimAdvec
74 LOGICAL tr1_MultiDimAdvec
75 LOGICAL tempAdamsBashforth
76 LOGICAL saltAdamsBashforth
77 LOGICAL tr1_AdamsBashforth
78 COMMON /GAD_PARM_L/
79 & tempMultiDimAdvec , saltMultiDimAdvec , tr1_MultiDimAdvec,
80 & tempAdamsBashforth, saltAdamsBashforth, tr1_AdamsBashforth
81
82 CEH3 ;;; Local Variables: ***
83 CEH3 ;;; mode:fortran ***
84 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22