1 |
C $Header$ |
C $Header$ |
2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
C Header file for package pkg/shap_filt |
C CPP options file for pkg SHAP_FILT |
5 |
|
|
6 |
|
#ifndef SHAP_FILT_OPTIONS_H |
7 |
|
#define SHAP_FILT_OPTIONS_H |
8 |
|
#include "PACKAGES_CONFIG.h" |
9 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
10 |
|
|
11 |
|
#ifdef ALLOW_SHAP_FILT |
12 |
|
C Package-specific Options & Macros go here |
13 |
|
|
14 |
C Use [1-d_yy^n)(1-d_xx^n] instead of [1-d_xx^n-d_yy^n] |
C Use [1-d_yy^n)(1-d_xx^n] instead of [1-d_xx^n-d_yy^n] |
15 |
C This changes the spectral response function dramatically. |
C This changes the spectral response function dramatically. |
16 |
C You need to do some analysis before changing this option. ;^) |
C You need to do some analysis before changing this option. ;^) |
17 |
#define SEQUENTIAL_2D_SHAP |
#define SEQUENTIAL_2D_SHAP |
18 |
|
|
|
C Boundary conditions for U,V Shapiro code |
|
|
C Horizontal shear is calculated as if the boundaries are no-slip |
|
|
#define NO_SLIP_SHAP |
|
|
|
|
19 |
C This invokes the older code which produces the same numbers |
C This invokes the older code which produces the same numbers |
20 |
C and might even be faster because it does not do multiple |
C and might even be faster because it does not do multiple |
21 |
C exchanges within the filter. However, this requires the |
C exchanges within the filter. However, this requires the |
23 |
C for arbitrarily arranged tiles (ie. as in cubed-sphere). |
C for arbitrarily arranged tiles (ie. as in cubed-sphere). |
24 |
C *DO NOT USE THIS OPTION UNLESS YOU REALLY WANT TO* :-( |
C *DO NOT USE THIS OPTION UNLESS YOU REALLY WANT TO* :-( |
25 |
#undef USE_OLD_SHAPIRO_FILTERS |
#undef USE_OLD_SHAPIRO_FILTERS |
26 |
|
|
27 |
|
#ifdef USE_OLD_SHAPIRO_FILTERS |
28 |
|
C Boundary conditions for U,V Shapiro code |
29 |
|
C Horizontal shear is calculated as if the boundaries are no-slip |
30 |
|
C Note: option NO_SLIP_SHAP only used in OLD_SHAPIRO_FILTERS ; |
31 |
|
C it is replaced by parameter "Shap_noSlip=1." in new S/R. |
32 |
|
#undef NO_SLIP_SHAP |
33 |
|
#endif |
34 |
|
|
35 |
|
C Masking of vorticity in dissipation terms (and Shap-Filt) |
36 |
|
C can be different from the masking applied for momentum advection; |
37 |
|
C This option allows to use the local S/R: SHAP_FILT_RELVORT3 to |
38 |
|
C compute vorticity, instead of pkg/mom_common S/R: MOM_CALC_RELVORT3 |
39 |
|
#define USE_SHAP_CALC_VORTICITY |
40 |
|
|
41 |
|
#endif /* ALLOW_SHAP_FILT */ |
42 |
|
#endif /* SHAP_FILT_OPTIONS_H */ |