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

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

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


Revision 1.2 - (hide annotations) (download)
Thu Jul 12 00:31:59 2001 UTC (22 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint40pre2
Changes since 1.1: +6 -2 lines
File MIME type: text/plain
add a 3rd order advection scheme option

1 jmc 1.2 C $Header: /u/gcmpack/models/MITgcmUV/pkg/generic_advdiff/GAD.h,v 1.1 2001/05/30 19:34:48 adcroft Exp $
2     C $Name: $
3 adcroft 1.1
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 jmc 1.2
16     C 3rd order upwind
17     INTEGER ENUM_UPWIND_3RD
18     PARAMETER(ENUM_UPWIND_3RD=3)
19 adcroft 1.1
20     C Centered 4th order
21     INTEGER ENUM_CENTERED_4TH
22     PARAMETER(ENUM_CENTERED_4TH=4)
23    
24     C Non-linear flux limiter
25     INTEGER ENUM_FLUX_LIMIT
26     PARAMETER(ENUM_FLUX_LIMIT=77)
27    
28     C Third/fourth order interpolation factor
29     _RL oneSixth
30     PARAMETER(oneSixth=1. _d 0/6. _d 0)
31    
32     C Differentiate between tracers (only needed for KPP - arrgh!!!)
33     INTEGER GAD_TEMPERATURE
34     PARAMETER(GAD_TEMPERATURE=123)
35     INTEGER GAD_SALINITY
36     PARAMETER(GAD_SALINITY=321)

  ViewVC Help
Powered by ViewVC 1.1.22