1 |
dimitri |
1.1 |
C $Header: /u/gcmpack/MITgcm/pkg/obcs/OBCS_OPTIONS.h,v 1.7 2008/01/23 06:55:34 dimitri 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 |
|
|
#define ALLOW_OBCS_SOUTH |
20 |
|
|
#define ALLOW_OBCS_WEST |
21 |
|
|
|
22 |
|
|
C This include hooks to the Orlanski Open Boundary Radiation code |
23 |
|
|
#undef ALLOW_ORLANSKI |
24 |
|
|
|
25 |
|
|
C Enable OB values to be prescribed via external fields that are read |
26 |
|
|
C from a file |
27 |
|
|
#define ALLOW_OBCS_PRESCRIBE |
28 |
|
|
|
29 |
|
|
C This includes hooks to sponge layer treatment of uvel, vvel |
30 |
|
|
#undef ALLOW_OBCS_SPONGE |
31 |
|
|
|
32 |
|
|
C balance barotropic velocity |
33 |
|
|
#undef ALLOW_OBCS_BALANCE |
34 |
|
|
|
35 |
|
|
C The following five CPP options are experimental and aim to deal |
36 |
|
|
C with artifacts due to the low-frequency specification of sea-ice |
37 |
|
|
C boundary conditions compared to the model's forcing frequency. |
38 |
|
|
C Ice convergence at edges can cause model to blow up. The |
39 |
|
|
C following CPP option fixes this problem at the expense of less |
40 |
|
|
C accurate boundary conditions. |
41 |
|
|
#undef OBCS_SEAICE_AVOID_CONVERGENCE |
42 |
|
|
|
43 |
|
|
C Smooth the component of sea-ice velocity perpendicular to the edge. |
44 |
|
|
#define OBCS_SEAICE_SMOOTH_UVICE_PERP |
45 |
|
|
|
46 |
|
|
C Smooth the component of sea ice velocity parallel to the edge. |
47 |
|
|
#define OBCS_SEAICE_SMOOTH_UVICE_PAR |
48 |
|
|
|
49 |
|
|
C Smooth the tracer sea-ice variables near the edges. |
50 |
|
|
#undef OBCS_SEAICE_SMOOTH_EDGE |
51 |
|
|
|
52 |
|
|
C Compute rather than specify seaice velocities at the edges. |
53 |
|
|
#undef OBCS_SEAICE_COMPUTE_UVICE |
54 |
|
|
|
55 |
|
|
#endif /* ALLOW_OBCS */ |
56 |
|
|
#endif /* OBCS_OPTIONS_H */ |