Back to home page

MITgcm

 
 

    


File indexing completed on 2026-11-19 06:09:23 UTC

view on githubraw file Latest commit 7d589eb6 on 2026-11-18 15:30:55 UTC
7d589eb693 Shre*0001 #ifndef COST_OPTIONS_H
                0002 #define COST_OPTIONS_H
                0003 #include "PACKAGES_CONFIG.h"
                0004 #include "CPP_OPTIONS.h"
                0005 
                0006 CBOP
                0007 C !ROUTINE: COST_OPTIONS.h
                0008 C !INTERFACE:
                0009 C #include "COST_OPTIONS.h"
                0010 
                0011 C !DESCRIPTION:
                0012 C *==================================================================*
                0013 C | CPP options file for Cost-Function (cost) package:
                0014 C | Control which optional features to compile in this package code.
                0015 C *==================================================================*
                0016 CEOP
                0017 
                0018 #ifdef ALLOW_COST
                0019 #ifdef ECCO_CPPOPTIONS_H
                0020 
                0021 C-- When multi-package option-file ECCO_CPPOPTIONS.h is used (directly included
                0022 C    in CPP_OPTIONS.h), this option file is left empty since all options that
                0023 C   are specific to this package are assumed to be set in ECCO_CPPOPTIONS.h
                0024 
                0025 #else /* ndef ECCO_CPPOPTIONS_H */
                0026 C   ==================================================================
                0027 C-- Package-specific Options & Macros go here
                0028 
                0029 #undef ALLOW_COST_STATE_FINAL
                0030 #undef ALLOW_COST_VECTOR
                0031 
                0032 C       >>> Cost function contributions
                0033 #undef ALLOW_COST_ATLANTIC_HEAT
                0034 #undef ALLOW_COST_ATLANTIC_HEAT_DOMASS
                0035 
                0036 #define ALLOW_COST_TEST
                0037 #define ALLOW_COST_TSQUARED
                0038 #undef ALLOW_COST_TRACER
                0039 
                0040 C   List these options here:
                0041 C-  User needs to provide "cost_temp.F"  code before defining following option:
                0042 #undef ALLOW_COST_TEMP
                0043 C-  User needs to provide "cost_hflux.F" code before defining following option:
                0044 #undef ALLOW_COST_HFLUXM
                0045 C-  The following option contains some hacks (reset cost-function):
                0046 #undef ALLOW_DIC_COST
                0047 #undef ALLOW_THSICE_COST_TEST
                0048 #undef ALLOW_COST_SHELFICE
                0049 #undef ALLOW_COST_STREAMICE
                0050 
                0051 C   ==================================================================
                0052 #endif /* ndef ECCO_CPPOPTIONS_H */
                0053 #endif /* ALLOW_COST */
                0054 #endif /* COST_OPTIONS_H */