Back to home page

MITgcm

 
 

    


File indexing completed on 2021-06-27 05:12:26 UTC

view on githubraw file Latest commit 4e4ad91a on 2021-06-26 16:30:07 UTC
bce9e67dfb Matt*0001 C CPP options file for OBCS package
                0002 C Use this file for selecting options within the OBCS package
                0003 
                0004 #ifndef OBCS_OPTIONS_H
                0005 #define OBCS_OPTIONS_H
                0006 #include "PACKAGES_CONFIG.h"
                0007 #include "CPP_OPTIONS.h"
                0008 
                0009 #ifdef ALLOW_OBCS
a589927d63 Jean*0010 C Package-specific Options & Macros go here
bce9e67dfb Matt*0011 
                0012 C Enable individual open boundaries
                0013 #define ALLOW_OBCS_NORTH
                0014 #define ALLOW_OBCS_SOUTH
                0015 #define ALLOW_OBCS_EAST
                0016 #define ALLOW_OBCS_WEST
                0017 
                0018 C This include hooks to the Orlanski Open Boundary Radiation code
                0019 #undef ALLOW_ORLANSKI
                0020 
a589927d63 Jean*0021 C Enable OB values to be prescribed via external fields that are read
                0022 C from a file
bce9e67dfb Matt*0023 #define ALLOW_OBCS_PRESCRIBE
                0024 
a589927d63 Jean*0025 C Enable OB conditions following Stevens (1990)
4e4ad91a39 Jean*0026 #define ALLOW_OBCS_STEVENS
a589927d63 Jean*0027 
0c94046814 Dimi*0028 C Allow sponge layer treatment of open boundary conditions
bce9e67dfb Matt*0029 #define ALLOW_OBCS_SPONGE
                0030 
0c94046814 Dimi*0031 C Include hooks to sponge layer treatment of pkg/seaice variables
                0032 #undef ALLOW_OBCS_SEAICE_SPONGE
                0033 
bce9e67dfb Matt*0034 C balance barotropic velocity
                0035 #undef ALLOW_OBCS_BALANCE
                0036 
0c94046814 Dimi*0037 C add tidal contributions to normal OB flow
                0038 #undef ALLOW_OBCS_TIDES
                0039 
                0040 C Use older implementation of obcs in seaice-dynamics
                0041 C note: most of the "experimental" options listed below have not yet
                0042 C       been implementated in new version.
                0043 #undef OBCS_UVICE_OLD
                0044 
                0045 #ifdef OBCS_UVICE_OLD
                0046 C     The following five CPP options are experimental and aim to deal
                0047 C     with artifacts due to the low-frequency specification of sea-ice
                0048 C     boundary conditions compared to the model forcing frequency.
                0049 C     Ice convergence at edges can cause model to blow up.  The
                0050 C     following CPP option fixes this problem at the expense of less
                0051 C     accurate boundary conditions.
                0052 #undef OBCS_SEAICE_AVOID_CONVERGENCE
                0053 
                0054 C     Smooth the component of sea-ice velocity perpendicular to the edge.
                0055 #undef OBCS_SEAICE_SMOOTH_UVICE_PERP
                0056 
                0057 C     Smooth the component of sea ice velocity parallel to the edge.
                0058 #undef OBCS_SEAICE_SMOOTH_UVICE_PAR
                0059 
                0060 C     Compute rather than specify seaice velocities at the edges.
                0061 #undef OBCS_SEAICE_COMPUTE_UVICE
                0062 #endif /* OBCS_UVICE_OLD */
                0063 
                0064 C     Smooth the tracer sea-ice variables near the edges.
                0065 #undef OBCS_SEAICE_SMOOTH_EDGE
                0066 
bce9e67dfb Matt*0067 #endif /* ALLOW_OBCS */
                0068 #endif /* OBCS_OPTIONS_H */