1 |
C $Header: /u/gcmpack/MITgcm/pkg/cd_code/CD_CODE_OPTIONS.h,v 1.1 2003/10/28 22:57:59 edhill Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
C CPP options file for CD_CODE package |
5 |
C |
6 |
C Use this file for selecting CPP options within the cd_code package |
7 |
|
8 |
#ifndef CD_CODE_OPTIONS_H |
9 |
#define CD_CODE_OPTIONS_H |
10 |
#include "PACKAGES_CONFIG.h" |
11 |
#ifdef ALLOW_CD_CODE |
12 |
|
13 |
#include "CPP_OPTIONS.h" |
14 |
|
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 |
C CPP macros go here |
24 |
|
25 |
#endif /* ALLOW_CD_CODE */ |
26 |
#endif /* CD_CODE_OPTIONS_H */ |