Back to home page

MITgcm

 
 

    


File indexing completed on 2026-03-28 05:09:13 UTC

view on githubraw file Latest commit df0999b5 on 2026-03-27 16:50:19 UTC
5a54dbbd56 Jean*0001 #ifndef COST_OPTIONS_H
                0002 #define COST_OPTIONS_H
                0003 #include "PACKAGES_CONFIG.h"
                0004 #include "CPP_OPTIONS.h"
                0005 
b48be934cb Jean*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 
5a54dbbd56 Jean*0029 #undef ALLOW_COST_STATE_FINAL
                0030 #undef ALLOW_COST_VECTOR
                0031 
b48be934cb Jean*0032 C       >>> Cost function contributions
                0033 #undef ALLOW_COST_ATLANTIC_HEAT
5a54dbbd56 Jean*0034 #undef ALLOW_COST_ATLANTIC_HEAT_DOMASS
b48be934cb Jean*0035 
                0036 #define ALLOW_COST_TEST
                0037 #define ALLOW_COST_TSQUARED
                0038 #undef ALLOW_COST_TRACER
                0039 
5a54dbbd56 Jean*0040 C   List these options here:
df0999b5dc Jean*0041 C-  User needs to provide "cost_temp.F"  code before defining following option:
5a54dbbd56 Jean*0042 #undef ALLOW_COST_TEMP
df0999b5dc Jean*0043 C-  User needs to provide "cost_hflux.F" code before defining following option:
5a54dbbd56 Jean*0044 #undef ALLOW_COST_HFLUXM
df0999b5dc Jean*0045 C-  The following option contains some hacks (reset cost-function):
5a54dbbd56 Jean*0046 #undef ALLOW_DIC_COST
                0047 #undef ALLOW_THSICE_COST_TEST
df0999b5dc Jean*0048 #define ALLOW_COST_SHELFICE
                0049 #undef ALLOW_COST_STREAMICE
b48be934cb Jean*0050 
                0051 C   ==================================================================
                0052 #endif /* ndef ECCO_CPPOPTIONS_H */
                0053 #endif /* ALLOW_COST */
                0054 #endif /* COST_OPTIONS_H */