/[MITgcm]/MITgcm/verification/1D_ocean_ice_column/code/SEAICE_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/1D_ocean_ice_column/code/SEAICE_OPTIONS.h

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

revision 1.1 by ifenty, Mon Mar 28 15:50:50 2011 UTC revision 1.13 by gforget, Sat Mar 3 03:34:43 2012 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2  C $Name$  C $Name$
3    
4  C     /==========================================================\  C     *==========================================================*
5  C     | SEAICE_OPTIONS.h                                         |  C     | SEAICE_OPTIONS.h
6  C     | o CPP options file for sea ice package.                  |  C     | o CPP options file for sea ice package.
7  C     |==========================================================|  C     *==========================================================*
8  C     | Use this file for selecting options within the sea ice   |  C     | Use this file for selecting options within the sea ice
9  C     | package.                                                 |  C     | package.
10  C     \==========================================================/  C     *==========================================================*
11    
12  #ifndef SEAICE_OPTIONS_H  #ifndef SEAICE_OPTIONS_H
13  #define SEAICE_OPTIONS_H  #define SEAICE_OPTIONS_H
14  #include "PACKAGES_CONFIG.h"  #include "PACKAGES_CONFIG.h"
15  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
16    
17    #ifdef ALLOW_SEAICE
18    C     Package-specific Options & Macros go here
19    
20  C--   Write "text-plots" of certain fields in STDOUT for debugging.  C--   Write "text-plots" of certain fields in STDOUT for debugging.
21  #undef SEAICE_DEBUG  #undef SEAICE_DEBUG
22    
# Line 22  C     This option is provided to allow u Line 25  C     This option is provided to allow u
25  C     on the thermodynamics component of the code only.  C     on the thermodynamics component of the code only.
26  C     Sea-ice dynamics can also be turned off at runtime  C     Sea-ice dynamics can also be turned off at runtime
27  C     using variable SEAICEuseDYNAMICS.  C     using variable SEAICEuseDYNAMICS.
28  #define SEAICE_ALLOW_DYNAMICS  #undef SEAICE_ALLOW_DYNAMICS
29    
30  C--   By default, the sea-ice package uses its own integrated bulk  C--   By default, the sea-ice package uses its own integrated bulk
31  C     formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over  C     formulae to compute fluxes (fu, fv, EmPmR, Qnet, and Qsw) over
# Line 40  C     Therefore it is not possible to sw Line 43  C     Therefore it is not possible to sw
43  C     in the middle of an integration.  C     in the middle of an integration.
44  #undef SEAICE_MULTICATEGORY  #undef SEAICE_MULTICATEGORY
45  #undef SEAICE_MODIFY_GROWTH_ADJ  #undef SEAICE_MODIFY_GROWTH_ADJ
46  #undef SEAICE_SIMPLIFY_GROWTH_ADJ  #undef SEAICE_SIMPLIFY_GROWTH_ADJ
47    
48    C--   Since the missing sublimation term is now included
49    C     this flag is needed for backward compatibility
50    #define SEAICE_DISABLE_SUBLIM
51    
52    C--   Suspected missing term in coupled ocn-ice heat budget (to be further tested)
53    #define SEAICE_DISABLE_HEATCONSFIX
54    
55    C--   The freezing point of water is a simple linear dependence to salinity.
56    C     The flag below is now obsolete, but kept to ease the transition
57    C     from the old constant freezing point default (see seaice_check.F).
58    #define SEAICE_VARIABLE_FREEZING_POINT
59    
60  c     Use the McPhee Ocean-Ice heat flux  C--   The flags below are obsolete, but kept to ease the transition
61    C     from the old default to the new one (see seaice_check.F).
62  #define MCPHEE_OCEAN_ICE_HEAT_FLUX  #define MCPHEE_OCEAN_ICE_HEAT_FLUX
63  #define GRADIENT_MIXED_LAYER_TURBULENCE_FACTOR  #define GRADIENT_MIXED_LAYER_TURBULENCE_FACTOR
64    
 #define FENTY_DELTA_HEFF_OPEN_WATER_FLUXES  
 #define FENTY_OPEN_WATER_FLUXES_MELT_ICE  
   
 #define FENTY_AREA_EXPANSION_CONTRACTION  
   
 #undef SEAICE_ADD_SUBLIMATION_TO_FWBUDGET  
   
   
   
65  C--   By default cdm wind stress under sea-ice is set to the  C--   By default cdm wind stress under sea-ice is set to the
66  C     same value as it would be if there was no sea-ice.  C     same value as it would be if there was no sea-ice.
67  C     This is a placeholder until a more physically-sensible  C     This is a placeholder until a more physically-sensible
# Line 67  C     following options are available. Line 74  C     following options are available.
74  #undef SEAICE_ORIGINAL_BAD_ICE_STRESS  #undef SEAICE_ORIGINAL_BAD_ICE_STRESS
75  #undef SEAICE_TEST_ICE_STRESS_1  #undef SEAICE_TEST_ICE_STRESS_1
76    
 C--   By default the freezing point of water is set to the value of  
 C     the parameter SEAICE_freeze (=-1.96 by default). To use a  
 C     simple linear dependence of the freezing point on salinity,  
 C     set the following flag (pressure is assumed to have no effect,  
 C     which is a good assumption for the top 20 meters). With this  
 C     option defined the parameter SEAICE_freeze has no effect.  
 #undef SEAICE_VARIABLE_FREEZING_POINT  
   
77  C--   By default the seaice model is discretized on a B-Grid (for  C--   By default the seaice model is discretized on a B-Grid (for
78  C     historical reasons). Define the following flag to use a new  C     historical reasons). Define the following flag to use a new
79  C     (not thoroughly) test version on a C-grid  C     (not thoroughly) test version on a C-grid
# Line 86  C     defining the following flag Line 85  C     defining the following flag
85  #define SEAICE_ALLOW_EVP  #define SEAICE_ALLOW_EVP
86  #endif /* SEAICE_CGRID */  #endif /* SEAICE_CGRID */
87    
 C--   Seaice flooding  
 #define ALLOW_SEAICE_FLOODING  
   
88  C--   By default sea ice is fresh.  Set following flag for salty ice.  C--   By default sea ice is fresh.  Set following flag for salty ice.
89  #define SEAICE_SALINITY  #define SEAICE_VARIABLE_SALINITY
90    
 c--   Enable modified sea-ice thermodynamic by Ian Fenty  
 c--   Should improve adjoint, but doesnt work so far.  
 #undef SEAICE_ALLOW_TD_IF  
91    
92    #endif /* ALLOW_SEAICE */
93  #endif /* SEAICE_OPTIONS_H */  #endif /* SEAICE_OPTIONS_H */
94    
95  CEH3 ;;; Local Variables: ***  CEH3 ;;; Local Variables: ***

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22