1 |
C $Header: /u/gcmpack/MITgcm_contrib/verification_other/shelfice_remeshing/code/OBCS_OPTIONS.h,v 1.2 2016/01/22 16:09:33 dgoldberg Exp $ |
2 |
C $Name: $ |
3 |
|
4 |
C CPP options file for OBCS package |
5 |
C |
6 |
C Use this file for selecting options within the OBCS package |
7 |
C |
8 |
C OBCS is enabled with ALLOW_OBCS in CPP_OPTIONS.h |
9 |
|
10 |
#ifndef OBCS_OPTIONS_H |
11 |
#define OBCS_OPTIONS_H |
12 |
#include "PACKAGES_CONFIG.h" |
13 |
#include "CPP_OPTIONS.h" |
14 |
|
15 |
#ifdef ALLOW_OBCS |
16 |
|
17 |
C Enable individual open boundaries |
18 |
#define ALLOW_OBCS_NORTH |
19 |
#undef ALLOW_OBCS_SOUTH |
20 |
#undef ALLOW_OBCS_EAST |
21 |
#undef ALLOW_OBCS_WEST |
22 |
|
23 |
C This include hooks to the Orlanski Open Boundary Radiation code |
24 |
#undef ALLOW_ORLANSKI |
25 |
|
26 |
C Enable OB values to be prescribed via external fields that are read |
27 |
C from a file |
28 |
#define ALLOW_OBCS_PRESCRIBE |
29 |
|
30 |
C This includes hooks to sponge layer treatment of uvel, vvel |
31 |
#define ALLOW_OBCS_SPONGE |
32 |
|
33 |
C balance barotropic velocity |
34 |
#undef ALLOW_OBCS_BALANCE |
35 |
|
36 |
C The following five CPP options are experimental and aim to deal |
37 |
C with artifacts due to the low-frequency specification of sea-ice |
38 |
C boundary conditions compared to the model forcing frequency. |
39 |
C Ice convergence at edges can cause model to blow up. The |
40 |
C following CPP option fixes this problem at the expense of less |
41 |
C accurate boundary conditions. |
42 |
#undef OBCS_SEAICE_AVOID_CONVERGENCE |
43 |
|
44 |
C Smooth the component of sea-ice velocity perpendicular to the edge. |
45 |
#undef OBCS_SEAICE_SMOOTH_UVICE_PERP |
46 |
|
47 |
C Smooth the component of sea ice velocity parallel to the edge. |
48 |
#undef OBCS_SEAICE_SMOOTH_UVICE_PAR |
49 |
|
50 |
C Smooth the tracer sea-ice variables near the edges. |
51 |
#undef OBCS_SEAICE_SMOOTH_EDGE |
52 |
|
53 |
C Compute rather than specify seaice velocities at the edges. |
54 |
#undef OBCS_SEAICE_COMPUTE_UVICE |
55 |
|
56 |
#endif /* ALLOW_OBCS */ |
57 |
#endif /* OBCS_OPTIONS_H */ |