Back to home page

MITgcm

 
 

    


File indexing completed on 2019-12-18 06:11:56 UTC

view on githubraw file Latest commit 9952f046 on 2019-12-17 17:59:00 UTC
9952f046d7 dngo*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
                0010 C Package-specific Options & Macros go here
                0011 
                0012 C Enable individual open boundaries
                0013 #define ALLOW_OBCS_NORTH
                0014 #undef ALLOW_OBCS_SOUTH
                0015 #undef ALLOW_OBCS_EAST
                0016 #undef ALLOW_OBCS_WEST
                0017 
                0018 C This include hooks to the Orlanski Open Boundary Radiation code
                0019 #undef ALLOW_ORLANSKI
                0020 
                0021 C Enable OB values to be prescribed via external fields that are read
                0022 C from a file
                0023 #define ALLOW_OBCS_PRESCRIBE
                0024 
                0025 C Enable OB conditions following Stevens (1990)
                0026 #undef ALLOW_OBCS_STEVENS
                0027 
                0028 C Allow sponge layer treatment of open boundary conditions
                0029 #define ALLOW_OBCS_SPONGE
                0030 
                0031 C Include hooks to sponge layer treatment of pkg/seaice variables
                0032 #undef ALLOW_OBCS_SEAICE_SPONGE
                0033 
                0034 C balance barotropic velocity
                0035 #define ALLOW_OBCS_BALANCE
                0036 
                0037 C add tidal contributions to normal OB flow
                0038 C NOTE that at the moment tidal forcing is applied
                0039 C only to "normal" flow.
                0040 #undef ALLOW_OBCS_TIDES
                0041 
                0042 C Use older implementation of obcs in seaice-dynamics
                0043 C note: most of the "experimental" options listed below have not yet
                0044 C       been implementated in new version.
                0045 #undef OBCS_UVICE_OLD
                0046 
                0047 #ifdef OBCS_UVICE_OLD
                0048 C     The following five CPP options are experimental and aim to deal
                0049 C     with artifacts due to the low-frequency specification of sea-ice
                0050 C     boundary conditions compared to the model forcing frequency.
                0051 C     Ice convergence at edges can cause model to blow up.  The
                0052 C     following CPP option fixes this problem at the expense of less
                0053 C     accurate boundary conditions.
                0054 #undef OBCS_SEAICE_AVOID_CONVERGENCE
                0055 
                0056 C     Smooth the component of sea-ice velocity perpendicular to the edge.
                0057 #undef OBCS_SEAICE_SMOOTH_UVICE_PERP
                0058 
                0059 C     Smooth the component of sea ice velocity parallel to the edge.
                0060 #undef OBCS_SEAICE_SMOOTH_UVICE_PAR
                0061 
                0062 C     Compute rather than specify seaice velocities at the edges.
                0063 #undef OBCS_SEAICE_COMPUTE_UVICE
                0064 #endif /* OBCS_UVICE_OLD */
                0065 
                0066 C     Smooth the tracer sea-ice variables near the edges.
                0067 #undef OBCS_SEAICE_SMOOTH_EDGE
                0068 
                0069 #endif /* ALLOW_OBCS */
                0070 #endif /* OBCS_OPTIONS_H */