1 |
jmc |
1.3 |
C $Header: /u/gcmpack/MITgcm/pkg/obcs/OBCS_OPTIONS.h,v 1.12 2011/10/21 18:42:15 jmc Exp $ |
2 |
jmc |
1.1 |
C $Name: $ |
3 |
jmc |
1.3 |
|
4 |
jmc |
1.1 |
C CPP options file for OBCS package |
5 |
|
|
C Use this file for selecting options within the OBCS package |
6 |
|
|
|
7 |
|
|
#ifndef OBCS_OPTIONS_H |
8 |
|
|
#define OBCS_OPTIONS_H |
9 |
|
|
#include "PACKAGES_CONFIG.h" |
10 |
|
|
#include "CPP_OPTIONS.h" |
11 |
|
|
|
12 |
|
|
#ifdef ALLOW_OBCS |
13 |
jmc |
1.3 |
C Package-specific Options & Macros go here |
14 |
jmc |
1.1 |
|
15 |
|
|
C Enable individual open boundaries |
16 |
|
|
#define ALLOW_OBCS_NORTH |
17 |
|
|
#define ALLOW_OBCS_SOUTH |
18 |
|
|
#define ALLOW_OBCS_EAST |
19 |
|
|
#define ALLOW_OBCS_WEST |
20 |
|
|
|
21 |
|
|
C This include hooks to the Orlanski Open Boundary Radiation code |
22 |
|
|
#define ALLOW_ORLANSKI |
23 |
|
|
|
24 |
|
|
C Enable OB values to be prescribed via external fields that are read |
25 |
|
|
C from a file |
26 |
|
|
#undef ALLOW_OBCS_PRESCRIBE |
27 |
|
|
|
28 |
jmc |
1.3 |
C Enable OB conditions following Stevens (1990) |
29 |
|
|
#undef ALLOW_OBCS_STEVENS |
30 |
|
|
|
31 |
jmc |
1.1 |
C This includes hooks to sponge layer treatment of uvel, vvel |
32 |
|
|
#undef ALLOW_OBCS_SPONGE |
33 |
|
|
|
34 |
|
|
C balance barotropic velocity |
35 |
|
|
#define ALLOW_OBCS_BALANCE |
36 |
|
|
|
37 |
jmc |
1.3 |
C Use older implementation of obcs in seaice-dynamics |
38 |
|
|
C note: most of the "experimental" options listed below have not yet |
39 |
|
|
C been implementated in new version. |
40 |
|
|
#undef OBCS_UVICE_OLD |
41 |
|
|
|
42 |
|
|
#ifdef OBCS_UVICE_OLD |
43 |
jmc |
1.1 |
C The following five CPP options are experimental and aim to deal |
44 |
|
|
C with artifacts due to the low-frequency specification of sea-ice |
45 |
jmc |
1.2 |
C boundary conditions compared to the model forcing frequency. |
46 |
jmc |
1.1 |
C Ice convergence at edges can cause model to blow up. The |
47 |
|
|
C following CPP option fixes this problem at the expense of less |
48 |
|
|
C accurate boundary conditions. |
49 |
|
|
#undef OBCS_SEAICE_AVOID_CONVERGENCE |
50 |
|
|
|
51 |
|
|
C Smooth the component of sea-ice velocity perpendicular to the edge. |
52 |
|
|
#undef OBCS_SEAICE_SMOOTH_UVICE_PERP |
53 |
|
|
|
54 |
|
|
C Smooth the component of sea ice velocity parallel to the edge. |
55 |
|
|
#undef OBCS_SEAICE_SMOOTH_UVICE_PAR |
56 |
|
|
|
57 |
jmc |
1.3 |
C Compute rather than specify seaice velocities at the edges. |
58 |
|
|
#undef OBCS_SEAICE_COMPUTE_UVICE |
59 |
|
|
#endif /* OBCS_UVICE_OLD */ |
60 |
|
|
|
61 |
jmc |
1.1 |
C Smooth the tracer sea-ice variables near the edges. |
62 |
|
|
#undef OBCS_SEAICE_SMOOTH_EDGE |
63 |
|
|
|
64 |
|
|
#endif /* ALLOW_OBCS */ |
65 |
|
|
#endif /* OBCS_OPTIONS_H */ |