2 |
C $Name$ |
C $Name$ |
3 |
|
|
4 |
C CPP options file for OBCS package |
C CPP options file for OBCS package |
|
C |
|
5 |
C Use this file for selecting options within the OBCS package |
C Use this file for selecting options within the OBCS package |
|
C |
|
|
C OBCS is enabled with ALLOW_OBCS in CPP_OPTIONS.h |
|
6 |
|
|
7 |
#ifndef OBCS_OPTIONS_H |
#ifndef OBCS_OPTIONS_H |
8 |
#define OBCS_OPTIONS_H |
#define OBCS_OPTIONS_H |
10 |
#include "CPP_OPTIONS.h" |
#include "CPP_OPTIONS.h" |
11 |
|
|
12 |
#ifdef ALLOW_OBCS |
#ifdef ALLOW_OBCS |
13 |
|
C Package-specific Options & Macros go here |
14 |
|
|
15 |
C Enable individual open boundaries |
C Enable individual open boundaries |
16 |
#define ALLOW_OBCS_NORTH |
#define ALLOW_OBCS_NORTH |
28 |
C Enable OB conditions following Stevens (1990) |
C Enable OB conditions following Stevens (1990) |
29 |
#undef ALLOW_OBCS_STEVENS |
#undef ALLOW_OBCS_STEVENS |
30 |
|
|
31 |
C This includes hooks to sponge layer treatment of uvel, vvel |
C Allow sponge layer treatment of open boundary conditions |
32 |
#undef ALLOW_OBCS_SPONGE |
#undef ALLOW_OBCS_SPONGE |
33 |
|
|
34 |
|
C Include hooks to sponge layer treatment of pkg/seaice variables |
35 |
|
#undef ALLOW_OBCS_SEAICE_SPONGE |
36 |
|
|
37 |
C balance barotropic velocity |
C balance barotropic velocity |
38 |
#undef ALLOW_OBCS_BALANCE |
#undef ALLOW_OBCS_BALANCE |
39 |
|
|
40 |
|
C add tidal contributions to normal OB flow |
41 |
|
#undef ALLOW_OBCS_TIDES |
42 |
|
|
43 |
C Use older implementation of obcs in seaice-dynamics |
C Use older implementation of obcs in seaice-dynamics |
44 |
C note: most of the "experimental" options listed below have not yet |
C note: most of the "experimental" options listed below have not yet |
45 |
C been implementated in new version. |
C been implementated in new version. |
46 |
#define OBCS_UVICE_OLD |
#undef OBCS_UVICE_OLD |
47 |
|
|
48 |
#ifdef OBCS_UVICE_OLD |
#ifdef OBCS_UVICE_OLD |
49 |
C The following five CPP options are experimental and aim to deal |
C The following five CPP options are experimental and aim to deal |
55 |
#undef OBCS_SEAICE_AVOID_CONVERGENCE |
#undef OBCS_SEAICE_AVOID_CONVERGENCE |
56 |
|
|
57 |
C Smooth the component of sea-ice velocity perpendicular to the edge. |
C Smooth the component of sea-ice velocity perpendicular to the edge. |
58 |
#define OBCS_SEAICE_SMOOTH_UVICE_PERP |
#undef OBCS_SEAICE_SMOOTH_UVICE_PERP |
59 |
|
|
60 |
C Smooth the component of sea ice velocity parallel to the edge. |
C Smooth the component of sea ice velocity parallel to the edge. |
61 |
#define OBCS_SEAICE_SMOOTH_UVICE_PAR |
#undef OBCS_SEAICE_SMOOTH_UVICE_PAR |
62 |
|
|
63 |
C Compute rather than specify seaice velocities at the edges. |
C Compute rather than specify seaice velocities at the edges. |
64 |
#undef OBCS_SEAICE_COMPUTE_UVICE |
#undef OBCS_SEAICE_COMPUTE_UVICE |