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

Annotation of /MITgcm/verification/global_ocean.90x40x15/code_ad/CTRL_OPTIONS.h

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


Revision 1.1 - (hide annotations) (download)
Thu Sep 11 19:28:39 2014 UTC (9 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint65f, checkpoint65d, checkpoint65e
File MIME type: text/plain
Use pkg specific option file (AUTODIFF_OPTIONS.h, COST_OPTIONS.h and
 CTRL_OPTIONS.h) instead of all options in one file ECCO_CPPOPTIONS.h

1 jmc 1.1 C $Header: /u/gcmpack/MITgcm/pkg/ctrl/CTRL_OPTIONS.h,v 1.3 2014/04/05 21:52:51 jmc Exp $
2     C $Name: $
3    
4     CBOP
5     C !ROUTINE: CTRL_OPTIONS.h
6     C !INTERFACE:
7     C #include "CTRL_OPTIONS.h"
8    
9     C !DESCRIPTION:
10     C *==================================================================*
11     C | CPP options file for Control (ctrl) package:
12     C | Control which optional features to compile in this package code.
13     C *==================================================================*
14     CEOP
15    
16     #ifndef CTRL_OPTIONS_H
17     #define CTRL_OPTIONS_H
18     #include "PACKAGES_CONFIG.h"
19     #include "CPP_OPTIONS.h"
20    
21     #ifdef ALLOW_CTRL
22     #ifdef ECCO_CPPOPTIONS_H
23    
24     C-- When multi-package option-file ECCO_CPPOPTIONS.h is used (directly included
25     C in CPP_OPTIONS.h), this option file is left empty since all options that
26     C are specific to this package are assumed to be set in ECCO_CPPOPTIONS.h
27    
28     #else /* ndef ECCO_CPPOPTIONS_H */
29     C ==================================================================
30     C-- Package-specific Options & Macros go here
31    
32     #undef EXCLUDE_CTRL_PACK
33     #undef ALLOW_NONDIMENSIONAL_CONTROL_IO
34    
35     C >>> Initial values.
36     #define ALLOW_THETA0_CONTROL
37     #define ALLOW_SALT0_CONTROL
38     #undef ALLOW_TR10_CONTROL
39     #define ALLOW_TAUU0_CONTROL
40     #define ALLOW_TAUV0_CONTROL
41     #define ALLOW_SFLUX0_CONTROL
42     #define ALLOW_HFLUX0_CONTROL
43     #undef ALLOW_SSS0_CONTROL
44     #undef ALLOW_SST0_CONTROL
45    
46     C >>> Surface fluxes.
47     #undef ALLOW_HFLUX_CONTROL
48     #undef ALLOW_SFLUX_CONTROL
49     #undef ALLOW_USTRESS_CONTROL
50     #undef ALLOW_VSTRESS_CONTROL
51     #undef ALLOW_SWFLUX_CONTROL
52     #undef ALLOW_LWFLUX_CONTROL
53    
54     C >>> Atmospheric state.
55     #undef ALLOW_ATEMP_CONTROL
56     #undef ALLOW_AQH_CONTROL
57     #undef ALLOW_UWIND_CONTROL
58     #undef ALLOW_VWIND_CONTROL
59     #undef ALLOW_PRECIP_CONTROL
60    
61     C >>> Other Control.
62     #define ALLOW_DIFFKR_CONTROL
63     #define ALLOW_KAPGM_CONTROL
64     #define ALLOW_KAPREDI_CONTROL
65     #define ALLOW_BOTTOMDRAG_CONTROL
66    
67     C >>> Generic Control.
68     #define ALLOW_GENARR2D_CONTROL
69     #undef ALLOW_GENARR3D_CONTROL
70     #undef ALLOW_GENTIM2D_CONTROL
71    
72     C o Rotation of wind/stress controls adjustments
73     C from Eastward/Northward to model grid directions
74     #undef ALLOW_ROTATE_UV_CONTROLS
75    
76     C o use pkg/smooth correlation operator (incl. smoother) for 2D controls (Weaver, Courtier 01)
77     C This CPP option just sets the default for ctrlSmoothCorrel2D to .TRUE.
78     #undef ALLOW_SMOOTH_CORREL2D
79     C o use pkg/smooth correlation operator (incl. smoother) for 3D controls (Weaver, Courtier 01)
80     C This CPP option just sets the default for ctrlSmoothCorrel3D to .TRUE.
81     #undef ALLOW_SMOOTH_CORREL3D
82    
83     C o apply pkg/ctrl/ctrl_smooth.F to 2D controls (outside of ctrlSmoothCorrel2D)
84     #undef ALLOW_CTRL_SMOOTH
85     C o apply pkg/smooth/smooth_diff2d.F to 2D controls (outside of ctrlSmoothCorrel2D)
86     #undef ALLOW_SMOOTH_CTRL2D
87     C o apply pkg/smooth/smooth_diff3d.F to 3D controls (outside of ctrlSmoothCorrel3D)
88     #undef ALLOW_SMOOTH_CTRL3D
89    
90     C ==================================================================
91     #endif /* ndef ECCO_CPPOPTIONS_H */
92     #endif /* ALLOW_CTRL */
93     #endif /* CTRL_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22