00001 !
00002 ! $Id: cppdefs.h,v 1.28 2005/10/27 09:58:11 pmarches Exp $
00003 !
00004
00005
00006
00007
00008 #undef BASIN
00009 #undef CANYON_A
00010 #undef CANYON_B
00011 #undef EQUATOR
00012 #undef GRAV_ADJ
00013 #undef INNERSHELF
00014 #undef RIVER
00015 #undef OVERFLOW
00016 #undef SEAMOUNT
00017 #undef SHELFRONT
00018 #undef SOLITON
00019 #undef UPWELLING
00020 #undef VORTEX
00021 #define REGIONAL
00022
00023
00024 #if defined REGIONAL
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 # define PERU
00037
00038 # undef OPENMP
00039 # undef MPI
00040
00041 # undef AGRIF
00042 # undef AGRIF_2WAY
00043
00044 # undef TIDES
00045 # define OBC_EAST
00046 # define OBC_WEST
00047 # define OBC_NORTH
00048 # define OBC_SOUTH
00049
00050 # undef BIOLOGY
00051 # undef FLOATS
00052 # undef STATIONS
00053 # undef PASSIVE_TRACER
00054 # undef SEDIMENT
00055 # undef BBL
00056
00061
00062 # ifdef MPI
00063 # undef PARALLEL_FILES
00064 # endif
00065
00066 # define SOLVE3D
00067 # define UV_COR
00068 # define UV_ADV
00069 # ifdef TIDES
00070 # define SSH_TIDES
00071 # define UV_TIDES
00072 # define TIDERAMP
00073 # endif
00074
00075 # define CURVGRID
00076 # define SPHERICAL
00077 # define MASKING
00078
00079 # define UV_VIS2
00080 # define MIX_GP_UV
00081 # undef UV_SPLIT_UP3
00082 # undef VIS_SMAGO
00083
00084 # define TS_DIF2
00085 # define MIX_GP_TS
00086 # undef TS_SPLIT_UP3
00087
00088 # undef BODYFORCE
00089 # undef BVF_MIXING
00090 # define LMD_MIXING
00091 # ifdef LMD_MIXING
00092 # define LMD_SKPP
00093 # define LMD_BKPP
00094 # define LMD_RIMIX
00095 # define LMD_CONVEC
00096 # undef LMD_DDMIX
00097 # undef LMD_NONLOCAL
00098 # endif
00099
00100 # define SALINITY
00101 # define NONLIN_EOS
00102 # define SPLIT_EOS
00103
00104 # define QCORRECTION
00105 # define SFLX_CORR
00106 # define DIURNAL_SRFLUX
00107
00108 # undef BULK_FLUX
00109 # ifdef BULK_FLUX
00110 # define LW_ONLINE
00111 # define BULK_EP
00112 # undef BULK_SMFLUX
00113 # define DIURNAL_SRFLUX
00114 # endif
00115 # ifdef BULK_EP
00116 # undef QCORRECTION
00117 # undef SFLX_CORR
00118 # endif
00119 # ifdef BULK_SMFLUX
00120 # undef BULK_WVEC
00121 # define BULK_WSTR
00122 # endif
00123
00124 # define SPONGE
00125 # define SPONGE_DIF2
00126 # undef SPONGE_VIS2
00127
00128 # define CLIMATOLOGY
00129 # ifdef CLIMATOLOGY
00130 # define ZCLIMATOLOGY
00131 # define M2CLIMATOLOGY
00132 # define M3CLIMATOLOGY
00133 # define TCLIMATOLOGY
00134
00135 # define ZNUDGING
00136 # define M2NUDGING
00137 # define M3NUDGING
00138 # define TNUDGING
00139 # undef ROBUST_DIAG
00140 # endif
00141
00142 # undef FRC_BRY
00143 # ifdef FRC_BRY
00144 # define Z_FRC_BRY
00145 # define M2_FRC_BRY
00146 # define M3_FRC_BRY
00147 # define T_FRC_BRY
00148 # endif
00149
00150 # define ANA_BSFLUX
00151 # define ANA_BTFLUX
00152
00153 # undef PSOURCE
00154 # undef ANA_PSOURCE
00155
00156 # ifdef TIDES
00157 # define OBC_M2FLATHER
00158 # else
00159 # undef OBC_M2SPECIFIED
00160 # undef OBC_M2FLATHER
00161 # define OBC_M2CHARACT
00162 # undef OBC_M2ORLANSKI
00163 # ifdef OBC_M2ORLANSKI
00164 # define OBC_VOLCONS
00165 # endif
00166 # endif
00167 # define OBC_M3ORLANSKI
00168 # define OBC_TORLANSKI
00169 # undef OBC_M3SPECIFIED
00170 # undef OBC_TSPECIFIED
00171
00172 # define AVERAGES
00173 # define AVERAGES_K
00174 # undef DIAGNOSTICS_TS
00175 # ifdef DIAGNOSTICS_TS
00176 # undef DIAGNOSTICS_TS_ADV
00177 # undef DIAGNOSTICS_TS_MLD
00178 # endif
00179 # undef DIAGNOSTICS_UV
00180
00181
00182
00183
00184
00185
00186
00187 # ifdef BIOLOGY
00188 # define PISCES
00189 # undef BIO_NPZD
00190 # undef BIO_N2P2Z2D2
00191 # undef BIO_N2PZD2
00192
00193 # ifdef PISCES
00194 # define key_trc_pisces
00195 # define key_passivetrc
00196 # define DIAGNOSTICS_BIO
00197 # ifdef DIAGNOSTICS_BIO
00198 # define key_trc_diaadd
00199 # define key_trc_dia3d
00200 # endif
00201 # endif
00202 # ifdef BIO_NPZD
00203 # undef OXYGEN
00204 # endif
00205 # if defined BIO_NPZD || defined BIO_N2P2Z2D2
00206 # define DIAGNOSTICS_BIO
00207 # endif
00208 # ifdef BIO_N2P2Z2D2
00209 # undef VAR_CHL_C
00210 # endif
00211 # endif
00212
00213 # ifdef FLOATS
00214 # undef FLOATS_GLOBAL_ATTRIBUTES
00215 # undef IBM
00216 # undef RANDOM_WALK
00217 # ifdef RANDOM_WALK
00218 # define DIEL_MIGRATION
00219 # define RANDOM_VERTICAL
00220 # define RANDOM_HORIZONTAL
00221 # endif
00222 # endif
00223
00224 # ifdef STATIONS
00225 # define ALL_SIGMA
00226 # endif
00227
00228 # ifdef SEDIMENT
00229 # define ANA_SEDIMENT
00230 # undef BED_ARMOR
00231 # undef ANA_SPFLUX
00232 # undef ANA_BPFLUX
00233 # define LINEAR_CONTINUATION
00234 # undef NEUMANN
00235 # endif
00236
00237 # ifdef BBL
00238 # define ANA_WWAVE
00239 # ifdef SEDIMENT
00240 # undef ANA_BSEDIM
00241 # else
00242 # define ANA_BSEDIM
00243 # endif
00244 # undef Z0_BL
00245 # ifdef Z0_BL
00246 # define Z0_RIP
00247 # endif
00248 # undef Z0_BIO
00249 # endif
00250
00251
00252
00253
00254
00255
00256
00257 #elif defined BASIN
00258
00259
00260
00261
00262 # define UV_ADV
00263 # define UV_COR
00264 # define UV_VIS2
00265 # define MIX_S_UV
00266 # define SOLVE3D
00267 # define TS_DIF2
00268 # define MIX_S_TS
00269 # define BODYFORCE
00270 # define ANA_GRID
00271 # define ANA_INITIAL
00272 # define ANA_SMFLUX
00273 # define ANA_STFLUX
00274 # define ANA_BTFLUX
00275
00276 #elif defined CANYON_A
00277
00278
00279
00280
00281 # define UV_ADV
00282 # define UV_COR
00283 # define SOLVE3D
00284 # define EW_PERIODIC
00285 # define ANA_GRID
00286 # define ANA_INITIAL
00287 # define ANA_SMFLUX
00288 # define ANA_STFLUX
00289 # define ANA_BTFLUX
00290
00291 #elif defined CANYON_B
00292
00293
00294
00295
00296 # define UV_ADV
00297 # define UV_COR
00298 # define SOLVE3D
00299 # define EW_PERIODIC
00300 # define ANA_GRID
00301 # define ANA_INITIAL
00302 # define ANA_SMFLUX
00303 # define ANA_STFLUX
00304 # define ANA_BTFLUX
00305 # define ANA_VMIX
00306
00307 #elif defined EQUATOR
00308
00309
00310
00311
00312
00313
00314 # define OPENMP
00315 # define UV_ADV
00316 # define UV_COR
00317 # define UV_VIS2
00318 # define MIX_S_UV
00319 # define SOLVE3D
00320 # define SALINITY
00321 # define TS_DIF2
00322 # define MIX_S_TS
00323 # undef BODYFORCE
00324 # define ANA_GRID
00325 # define ANA_INITIAL
00326 # define ANA_SMFLUX
00327 # define ANA_STFLUX
00328 # define ANA_SRFLUX
00329 # define ANA_SSFLUX
00330 # define ANA_BTFLUX
00331 # define ANA_BSFLUX
00332 # define QCORRECTION
00333 # define ANA_SST
00334 # define LMD_SKPP
00335 # define LMD_MIXING
00336 # define LMD_RIMIX
00337 # define LMD_CONVEC
00338
00339 #elif defined GRAV_ADJ
00340
00341
00342
00343
00344 # define UV_ADV
00345 # define UV_VIS2
00346 # define MIX_S_UV
00347 # define TS_DIF2
00348 # define MIX_S_TS
00349 # define SOLVE3D
00350 # define ANA_GRID
00351 # define ANA_INITIAL
00352 # define ANA_SMFLUX
00353 # define ANA_STFLUX
00354 # define ANA_BTFLUX
00355
00356 #elif defined INNERSHELF
00357
00358
00359
00360
00361 # define SOLVE3D
00362 # define UV_COR
00363 # define UV_ADV
00364 # define ANA_GRID
00365 # define ANA_INITIAL
00366 # define AVERAGES
00367 # define SALINITY
00368 # define NONLIN_EOS
00369 # define SPLIT_EOS
00370 # define ANA_SSFLUX
00371 # define ANA_SRFLUX
00372 # define ANA_STFLUX
00373 # define ANA_BSFLUX
00374 # define ANA_BTFLUX
00375 # define ANA_SMFLUX
00376 # define LMD_MIXING
00377 # define LMD_SKPP
00378 # define LMD_BKPP
00379 # define LMD_RIMIX
00380 # define LMD_CONVEC
00381 # define NS_PERIODIC
00382
00383 #elif defined RIVER
00384
00385
00386
00387
00388 # define SOLVE3D
00389 # define UV_ADV
00390 # define UV_COR
00391 # define M2FILTER_FLAT
00392 # define NONLIN_EOS
00393 # define SPLIT_EOS
00394 # define SALINITY
00395 # define ANA_GRID
00396 # define MASKING
00397 # define ANA_INITIAL
00398 # define ANA_SMFLUX
00399 # define ANA_STFLUX
00400 # define ANA_SSFLUX
00401 # define ANA_SRFLUX
00402 # define ANA_BTFLUX
00403 # define ANA_BSFLUX
00404 # define LMD_MIXING
00405 # define LMD_SKPP
00406 # define LMD_BKPP
00407 # define LMD_RIMIX
00408 # define LMD_CONVEC
00409 # define PSOURCE
00410 # define ANA_PSOURCE
00411 # define NS_PERIODIC
00412 # define FLOATS
00413 # ifdef FLOATS
00414 # define RANDOM_WALK
00415 # ifdef RANDOM_WALK
00416 # define DIEL_MIGRATION
00417 # define RANDOM_VERTICAL
00418 # define RANDOM_HORIZONTAL
00419 # endif
00420 # endif
00421
00422 #elif defined SEAMOUNT
00423
00424
00425
00426
00427 # define UV_ADV
00428 # define UV_COR
00429 # define SOLVE3D
00430 # define SALINITY
00431 # define NONLIN_EOS
00432 # define SPLIT_EOS
00433 # define ANA_GRID
00434 # define ANA_INITIAL
00435 # define ANA_SMFLUX
00436 # define ANA_STFLUX
00437 # define ANA_SSFLUX
00438 # define ANA_SRFLUX
00439 # define ANA_BTFLUX
00440 # define ANA_BSFLUX
00441
00442 # elif defined SHELFRONT
00443
00444
00445
00446
00447 # define UV_ADV
00448 # define UV_COR
00449 # define SOLVE3D
00450 # define SALINITY
00451 # define ANA_GRID
00452 # define ANA_INITIAL
00453 # define ANA_SMFLUX
00454 # define ANA_STFLUX
00455 # define ANA_SSFLUX
00456 # define ANA_SRFLUX
00457 # define ANA_BTFLUX
00458 # define ANA_BSFLUX
00459 # define EW_PERIODIC
00460
00461 #elif defined SOLITON
00462
00463
00464
00465
00466 # define UV_COR
00467 # define UV_ADV
00468 # define ANA_GRID
00469 # define ANA_INITIAL
00470 # define AVERAGES
00471 # define EW_PERIODIC
00472 # define ANA_SMFLUX
00473
00474 # elif defined OVERFLOW
00475
00476
00477
00478
00479 # define UV_ADV
00480 # define UV_COR
00481 # define UV_VIS2
00482 # define MIX_GP_UV
00483 # define TS_DIF2
00484 # define MIX_GP_TS
00485 # define SOLVE3D
00486 # define ANA_GRID
00487 # define ANA_INITIAL
00488 # define ANA_SMFLUX
00489 # define ANA_STFLUX
00490 # define ANA_BTFLUX
00491
00492 #elif defined UPWELLING
00493
00494
00495
00496
00497 # define SOLVE3D
00498 # define UV_COR
00499 # define UV_ADV
00500 # define ANA_GRID
00501 # define ANA_INITIAL
00502 # define AVERAGES
00503 # define SALINITY
00504 # define NONLIN_EOS
00505 # define SPLIT_EOS
00506 # define ANA_SSFLUX
00507 # define ANA_SRFLUX
00508 # define ANA_STFLUX
00509 # define ANA_BSFLUX
00510 # define ANA_BTFLUX
00511 # define ANA_SMFLUX
00512 # define LMD_MIXING
00513 # define LMD_SKPP
00514 # define LMD_BKPP
00515 # define LMD_RIMIX
00516 # define LMD_CONVEC
00517 # define EW_PERIODIC
00518
00519 #elif defined VORTEX
00520
00521
00522
00523
00524 # define OPENMP
00525 # undef MPI
00526 # define AGRIF
00527 # define AGRIF_2WAY
00528 # define SOLVE3D
00529 # define UV_COR
00530 # define UV_ADV
00531 # define ANA_STFLUX
00532 # define ANA_SMFLUX
00533 # define ANA_BSFLUX
00534 # define ANA_BTFLUX
00535 # define ANA_VMIX
00536 # define UV_VIS2
00537 # define MIX_S_UV
00538 # define TS_DIF2
00539 # define MIX_S_TS
00540 # define SPONGE
00541 # define ZCLIMATOLOGY
00542 # define M2CLIMATOLOGY
00543 # define M3CLIMATOLOGY
00544 # define TCLIMATOLOGY
00545 # define ZNUDGING
00546 # define M2NUDGING
00547 # define M3NUDGING
00548 # define TNUDGING
00549 # define OBC_EAST
00550 # define OBC_WEST
00551 # define OBC_NORTH
00552 # define OBC_SOUTH
00553 # define OBC_M2FLATHER
00554 # define OBC_TORLANSKI
00555 # define OBC_M3ORLANSKI
00556 #endif
00557
00558 #include "set_global_definitions.h"
00559