source: issm/trunk/test/MITgcm/code_4003/OBCS_OPTIONS.h@ 26744

Last change on this file since 26744 was 26744, checked in by Mathieu Morlighem, 3 years ago

merged trunk-jpl and trunk for revision 26742

File size: 2.1 KB
Line 
1C CPP options file for OBCS package
2C 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
10C Package-specific Options & Macros go here
11
12C 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
18C This include hooks to the Orlanski Open Boundary Radiation code
19#undef ALLOW_ORLANSKI
20
21C Enable OB values to be prescribed via external fields that are read
22C from a file
23#define ALLOW_OBCS_PRESCRIBE
24
25C Enable OB conditions following Stevens (1990)
26#undef ALLOW_OBCS_STEVENS
27
28C Allow sponge layer treatment of open boundary conditions
29#define ALLOW_OBCS_SPONGE
30
31C Include hooks to sponge layer treatment of pkg/seaice variables
32#undef ALLOW_OBCS_SEAICE_SPONGE
33
34C balance barotropic velocity
35#define ALLOW_OBCS_BALANCE
36
37C add tidal contributions to normal OB flow
38C NOTE that at the moment tidal forcing is applied
39C only to "normal" flow.
40#undef ALLOW_OBCS_TIDES
41
42C Use older implementation of obcs in seaice-dynamics
43C note: most of the "experimental" options listed below have not yet
44C been implementated in new version.
45#undef OBCS_UVICE_OLD
46
47#ifdef OBCS_UVICE_OLD
48C The following five CPP options are experimental and aim to deal
49C with artifacts due to the low-frequency specification of sea-ice
50C boundary conditions compared to the model forcing frequency.
51C Ice convergence at edges can cause model to blow up. The
52C following CPP option fixes this problem at the expense of less
53C accurate boundary conditions.
54#undef OBCS_SEAICE_AVOID_CONVERGENCE
55
56C Smooth the component of sea-ice velocity perpendicular to the edge.
57#undef OBCS_SEAICE_SMOOTH_UVICE_PERP
58
59C Smooth the component of sea ice velocity parallel to the edge.
60#undef OBCS_SEAICE_SMOOTH_UVICE_PAR
61
62C Compute rather than specify seaice velocities at the edges.
63#undef OBCS_SEAICE_COMPUTE_UVICE
64#endif /* OBCS_UVICE_OLD */
65
66C 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 */
Note: See TracBrowser for help on using the repository browser.