/[MITgcm]/MITgcm/verification/global_ocean.90x40x15/code_ad/CD_CODE_OPTIONS.h
ViewVC logotype

Contents of /MITgcm/verification/global_ocean.90x40x15/code_ad/CD_CODE_OPTIONS.h

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


Revision 1.3 - (show annotations) (download)
Tue Jul 29 19:03:20 2014 UTC (9 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
File MIME type: text/plain
FILE REMOVED
- use default cd_code options (#undef CD_CODE_NO_AB_MOMENTUM &
  #undef CD_CODE_NO_AB_CORIOLIS) for both AD and OAD built
- and update the corresponding output.

1 C $Header: /u/gcmpack/MITgcm/verification/global_ocean.90x40x15/code_ad/CD_CODE_OPTIONS.h,v 1.2 2011/12/24 01:17:51 jmc Exp $
2 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 #include "CPP_OPTIONS.h"
11
12 #ifdef ALLOW_CD_CODE
13 C Package-specific Options & Macros go here
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 #endif /* ALLOW_CD_CODE */
24 #endif /* CD_CODE_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22