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