/[MITgcm]/MITgcm_contrib/MPMice/beaufort/code/OBCS_OPTIONS.h
ViewVC logotype

Annotation of /MITgcm_contrib/MPMice/beaufort/code/OBCS_OPTIONS.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Fri Dec 16 01:46:14 2011 UTC (13 years, 7 months ago) by dimitri
Branch: MAIN
Changes since 1.1: +17 -6 lines
File MIME type: text/plain
enable OBCS_UVICE_OLD for backward compatibility

1 dimitri 1.2 C $Header: /u/gcmpack/MITgcm_contrib/MPMice/beaufort/code/OBCS_OPTIONS.h,v 1.1 2009/05/31 03:41:36 dimitri Exp $
2 dimitri 1.1 C $Name: $
3 dimitri 1.2
4 dimitri 1.1 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 dimitri 1.2 #undef ALLOW_OBCS_EAST
21 dimitri 1.1 #define ALLOW_OBCS_WEST
22    
23     C This include hooks to the Orlanski Open Boundary Radiation code
24     #undef ALLOW_ORLANSKI
25    
26     C Enable OB values to be prescribed via external fields that are read
27     C from a file
28     #define ALLOW_OBCS_PRESCRIBE
29    
30 dimitri 1.2 C Enable OB conditions following Stevens (1990)
31     #undef ALLOW_OBCS_STEVENS
32    
33 dimitri 1.1 C This includes hooks to sponge layer treatment of uvel, vvel
34     #undef ALLOW_OBCS_SPONGE
35    
36     C balance barotropic velocity
37     #undef ALLOW_OBCS_BALANCE
38    
39 dimitri 1.2 C Use older implementation of obcs in seaice-dynamics
40     C note: most of the "experimental" options listed below have not yet
41     C been implementated in new version.
42     #define OBCS_UVICE_OLD
43    
44     #ifdef OBCS_UVICE_OLD
45 dimitri 1.1 C The following five CPP options are experimental and aim to deal
46     C with artifacts due to the low-frequency specification of sea-ice
47 dimitri 1.2 C boundary conditions compared to the model forcing frequency.
48 dimitri 1.1 C Ice convergence at edges can cause model to blow up. The
49     C following CPP option fixes this problem at the expense of less
50     C accurate boundary conditions.
51     #undef OBCS_SEAICE_AVOID_CONVERGENCE
52    
53     C Smooth the component of sea-ice velocity perpendicular to the edge.
54     #define OBCS_SEAICE_SMOOTH_UVICE_PERP
55    
56     C Smooth the component of sea ice velocity parallel to the edge.
57     #define OBCS_SEAICE_SMOOTH_UVICE_PAR
58    
59 dimitri 1.2 C Compute rather than specify seaice velocities at the edges.
60     #undef OBCS_SEAICE_COMPUTE_UVICE
61     #endif /* OBCS_UVICE_OLD */
62    
63 dimitri 1.1 C Smooth the tracer sea-ice variables near the edges.
64     #undef OBCS_SEAICE_SMOOTH_EDGE
65    
66     #endif /* ALLOW_OBCS */
67     #endif /* OBCS_OPTIONS_H */

  ViewVC Help
Powered by ViewVC 1.1.22