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