| 1 |
utke |
1.1 |
C |
| 2 |
|
|
C $Header: /u/gcmpack/MITgcm/verification/OpenAD/code_ad/ECCO_CPPOPTIONS.h,v 1.5 2007/05/10 16:31:26 heimbach Exp $ |
| 3 |
|
|
C $Name: $ |
| 4 |
|
|
|
| 5 |
|
|
C CPP flags controlling which code is included in the files that |
| 6 |
|
|
C will be compiled. |
| 7 |
|
|
|
| 8 |
|
|
C ******************************************************************** |
| 9 |
|
|
C *** Adjoint Support Package *** |
| 10 |
|
|
C ******************************************************************** |
| 11 |
|
|
|
| 12 |
|
|
C o Include/exclude code in order to be able to automatically |
| 13 |
|
|
C differentiate the MITgcmUV by using the Tangent Linear and |
| 14 |
|
|
C Adjoint Model Compiler (TAMC). |
| 15 |
|
|
C |
| 16 |
|
|
#define ALLOW_AUTODIFF_TAMC |
| 17 |
|
|
C |
| 18 |
|
|
C >>> Checkpointing as handled by TAMC |
| 19 |
|
|
#define ALLOW_TAMC_CHECKPOINTING |
| 20 |
|
|
C |
| 21 |
|
|
C >>> Extract adjoint state |
| 22 |
|
|
#define ALLOW_AUTODIFF_MONITOR |
| 23 |
|
|
C |
| 24 |
|
|
C >>> DO 2-level checkpointing instead of 3-level |
| 25 |
|
|
#undef AUTODIFF_2_LEVEL_CHECKPOINT |
| 26 |
|
|
C |
| 27 |
|
|
C o use divided adjoint to split adjoint computations |
| 28 |
|
|
#undef ALLOW_DIVIDED_ADJOINT |
| 29 |
|
|
|
| 30 |
|
|
C ******************************************************************** |
| 31 |
|
|
C *** Calender Package *** |
| 32 |
|
|
C ******************************************************************** |
| 33 |
|
|
C |
| 34 |
|
|
C CPP flags controlling which code is included in the files that |
| 35 |
|
|
C will be compiled. |
| 36 |
|
|
|
| 37 |
|
|
CPH >>>>>> THERE ARE NO MORE CAL OPTIONS TO BE SET <<<<<< |
| 38 |
|
|
|
| 39 |
|
|
C ******************************************************************** |
| 40 |
|
|
C *** Cost function Package *** |
| 41 |
|
|
C ******************************************************************** |
| 42 |
|
|
C |
| 43 |
|
|
C >>> Cost function contributions |
| 44 |
|
|
#define ALLOW_COST |
| 45 |
|
|
#undef ALLOW_COST_TEST |
| 46 |
|
|
#undef ALLOW_COST_TRACER |
| 47 |
|
|
#define ALLOW_COST_ATLANTIC_HEAT |
| 48 |
|
|
#undef ALLOW_COST_ATLANTIC_HEAT_DOMASS |
| 49 |
|
|
#undef ALLOW_COST_ATLANTIC_HEAT_DOTHETA |
| 50 |
|
|
|
| 51 |
|
|
C ******************************************************************** |
| 52 |
|
|
C *** Control vector Package *** |
| 53 |
|
|
C ******************************************************************** |
| 54 |
|
|
C |
| 55 |
|
|
#undef ALLOW_NONDIMENSIONAL_CONTROL_IO |
| 56 |
|
|
C >>> Initial values. |
| 57 |
|
|
#define ALLOW_THETA0_CONTROL |
| 58 |
|
|
#define ALLOW_SALT0_CONTROL |
| 59 |
|
|
#undef ALLOW_TR10_CONTROL |
| 60 |
|
|
#define ALLOW_TAUU0_CONTROL |
| 61 |
|
|
#define ALLOW_TAUV0_CONTROL |
| 62 |
|
|
#define ALLOW_SFLUX0_CONTROL |
| 63 |
|
|
#define ALLOW_HFLUX0_CONTROL |
| 64 |
|
|
#undef ALLOW_SSS0_CONTROL |
| 65 |
|
|
#undef ALLOW_SST0_CONTROL |
| 66 |
|
|
#define ALLOW_DIFFKR_CONTROL |
| 67 |
|
|
#define ALLOW_KAPGM_CONTROL |
| 68 |
|
|
|
| 69 |
|
|
C |
| 70 |
|
|
C o Enable some temporary constructs for OpenAD |
| 71 |
|
|
#undef ALLOW_OPENAD |