/[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.1 - (show annotations) (download)
Wed May 30 19:34:48 2001 UTC (22 years, 11 months ago) by adcroft
Branch: MAIN
CVS Tags: checkpoint40pre1
File MIME type: text/plain
Added "gad" package. Needs generalizing to allow selection
of advection schemes at run-time and different schemes for
each tracer.

1 C $Header: $
2 C $Name: $
3
4 C Parameter common bloack
5 INTEGER gad_advection_scheme
6 c COMMON /GAD_PARS/
7 c & gad_advection_scheme
8 PARAMETER(gad_advection_scheme=2)
9
10 C Enumerated constants for selecting advection schemes
11
12 C Centered 2nd order
13 INTEGER ENUM_CENTERED_2ND
14 PARAMETER(ENUM_CENTERED_2ND=2)
15
16 C Centered 4th order
17 INTEGER ENUM_CENTERED_4TH
18 PARAMETER(ENUM_CENTERED_4TH=4)
19
20 C Non-linear flux limiter
21 INTEGER ENUM_FLUX_LIMIT
22 PARAMETER(ENUM_FLUX_LIMIT=77)
23
24 C Third/fourth order interpolation factor
25 _RL oneSixth
26 PARAMETER(oneSixth=1. _d 0/6. _d 0)
27
28 C Differentiate between tracers (only needed for KPP - arrgh!!!)
29 INTEGER GAD_TEMPERATURE
30 PARAMETER(GAD_TEMPERATURE=123)
31 INTEGER GAD_SALINITY
32 PARAMETER(GAD_SALINITY=321)

  ViewVC Help
Powered by ViewVC 1.1.22