1 |
jmc |
1.2 |
C $Header: /u/gcmpack/MITgcm/pkg/cd_code/CD_CODE_OPTIONS.h,v 1.2 2009/11/19 22:29:36 jmc Exp $ |
2 |
jmc |
1.1 |
C $Name: $ |
3 |
|
|
|
4 |
|
|
C CPP options file for CD_CODE package |
5 |
|
|
C Use this file for selecting CPP options within the cd_code package |
6 |
|
|
|
7 |
|
|
#ifndef CD_CODE_OPTIONS_H |
8 |
|
|
#define CD_CODE_OPTIONS_H |
9 |
|
|
#include "PACKAGES_CONFIG.h" |
10 |
jmc |
1.2 |
#include "CPP_OPTIONS.h" |
11 |
|
|
|
12 |
jmc |
1.1 |
#ifdef ALLOW_CD_CODE |
13 |
jmc |
1.2 |
C Package-specific Options & Macros go here |
14 |
jmc |
1.1 |
|
15 |
|
|
C Change defaut to get the same time-stepping for D-grid momentum and |
16 |
|
|
C C-grid momentum. D-grid velocity used to be stepped forward in time |
17 |
|
|
C with Adams-Bashforth only on surface pressure term. Tests show that |
18 |
|
|
C using AB on D-grid coriolis term improves stability (as expected from |
19 |
|
|
C CD-scheme paper). The following 2 options allow to reproduce old results. |
20 |
|
|
#define CD_CODE_NO_AB_MOMENTUM |
21 |
|
|
#define CD_CODE_NO_AB_CORIOLIS |
22 |
|
|
|
23 |
|
|
#endif /* ALLOW_CD_CODE */ |
24 |
|
|
#endif /* CD_CODE_OPTIONS_H */ |