/[MITgcm]/MITgcm/verification/advect_cs/code/GAD_OPTIONS.h
ViewVC logotype

Diff of /MITgcm/verification/advect_cs/code/GAD_OPTIONS.h

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

revision 1.1 by jmc, Tue Feb 12 22:32:20 2008 UTC revision 1.3 by jmc, Sat Dec 24 01:17:50 2011 UTC
# Line 5  CBOP Line 5  CBOP
5  C !ROUTINE: GAD_OPTIONS.h  C !ROUTINE: GAD_OPTIONS.h
6    
7  C !INTERFACE:  C !INTERFACE:
8  C #include "GAD_OPTIONS.h"  C #include "GAD_OPTIONS.h"
9    
10  C !DESCRIPTION:  C !DESCRIPTION:
11  C Contains CPP macros/flags for controlling optional features of package.  C Contains CPP macros/flags for controlling optional features of package.
# Line 18  C Use this file for selecting options wi Line 18  C Use this file for selecting options wi
18  #ifndef GAD_OPTIONS_H  #ifndef GAD_OPTIONS_H
19  #define GAD_OPTIONS_H  #define GAD_OPTIONS_H
20  #include "PACKAGES_CONFIG.h"  #include "PACKAGES_CONFIG.h"
 #ifdef ALLOW_GENERIC_ADVDIFF  
   
21  #include "CPP_OPTIONS.h"  #include "CPP_OPTIONS.h"
22    
23    #ifdef ALLOW_GENERIC_ADVDIFF
24    C     Package-specific Options & Macros go here
25    
26  C This flag selects the form of COSINE(lat) scaling of bi-harmonic term.  C This flag selects the form of COSINE(lat) scaling of bi-harmonic term.
27  C *only for use on a lat-lon grid*  C *only for use on a lat-lon grid*
28  C Setting this flag here only affects the bi-harmonic tracer terms; to  C Setting this flag here only affects the bi-harmonic tracer terms; to
# Line 31  C use COSINEMETH_III in the momentum equ Line 32  C use COSINEMETH_III in the momentum equ
32  C This selects isotropic scaling of harmonic and bi-harmonic term when  C This selects isotropic scaling of harmonic and bi-harmonic term when
33  C using the COSINE(lat) scaling.  C using the COSINE(lat) scaling.
34  C Setting this flag here only affects the tracer diffusion terms; to  C Setting this flag here only affects the tracer diffusion terms; to
35  C use ISOTROPIC_COS_SCALING of the horizontal viscosity terms in the  C use ISOTROPIC_COS_SCALING of the horizontal viscosity terms in the
36  C momentum equations set it CPP_OPTIONS.h; the following line  C momentum equations set it CPP_OPTIONS.h; the following line
37  C even overrides setting the flag in CPP_OPTIONS.h  C even overrides setting the flag in CPP_OPTIONS.h
38  #undef ISOTROPIC_COS_SCALING  #undef ISOTROPIC_COS_SCALING
# Line 41  C introduces excessive recomputation/sto Line 42  C introduces excessive recomputation/sto
42  C We can disable it here using CPP because run-time flags are insufficient.  C We can disable it here using CPP because run-time flags are insufficient.
43  #undef DISABLE_MULTIDIM_ADVECTION  #undef DISABLE_MULTIDIM_ADVECTION
44    
45  C This enable the use of 2nd-Order Moment advection scheme (Prather, 1986)  C This enable the use of 2nd-Order Moment advection scheme (Prather, 1986) for
46  C due to large memory space (10 times more / tracer) requirement,  C Temperature and Salinity ; due to large memory space (10 times more / tracer)
47  C by default, this part of the code is not compiled.  C requirement, by default, this part of the code is not compiled.
48  #define GAD_ALLOW_SOM_ADVECT  #define GAD_ALLOW_TS_SOM_ADV
49    
50  #else  #else
51    

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

  ViewVC Help
Powered by ViewVC 1.1.22