Back to home page

MITgcm

 
 

    


File indexing completed on 2018-03-02 18:45:56 UTC

view on githubraw file Latest commit add29e06 on 2018-01-31 20:35:05 UTC
b35e06869b Jean*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
b35e06869b Jean*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 #define ALLOW_ORLANSKI
                0020 
                0021 C Enable OB values to be prescribed via external fields that are read
                0022 C from a file
                0023 #undef ALLOW_OBCS_PRESCRIBE
                0024 
a589927d63 Jean*0025 C Enable OB conditions following Stevens (1990)
                0026 #undef ALLOW_OBCS_STEVENS
                0027 
b35e06869b Jean*0028 C This includes hooks to sponge layer treatment of uvel, vvel
                0029 #undef ALLOW_OBCS_SPONGE
                0030 
                0031 C balance barotropic velocity
                0032 #define ALLOW_OBCS_BALANCE
                0033 
a589927d63 Jean*0034 C Use older implementation of obcs in seaice-dynamics
                0035 C note: most of the "experimental" options listed below have not yet
                0036 C       been implementated in new version.
                0037 #undef OBCS_UVICE_OLD
                0038 
                0039 #ifdef OBCS_UVICE_OLD
b35e06869b Jean*0040 C     The following five CPP options are experimental and aim to deal
                0041 C     with artifacts due to the low-frequency specification of sea-ice
88f72205aa Jean*0042 C     boundary conditions compared to the model forcing frequency.
b35e06869b Jean*0043 C     Ice convergence at edges can cause model to blow up.  The
                0044 C     following CPP option fixes this problem at the expense of less
                0045 C     accurate boundary conditions.
                0046 #undef OBCS_SEAICE_AVOID_CONVERGENCE
                0047 
                0048 C     Smooth the component of sea-ice velocity perpendicular to the edge.
                0049 #undef OBCS_SEAICE_SMOOTH_UVICE_PERP
                0050 
                0051 C     Smooth the component of sea ice velocity parallel to the edge.
                0052 #undef OBCS_SEAICE_SMOOTH_UVICE_PAR
                0053 
                0054 C     Compute rather than specify seaice velocities at the edges.
                0055 #undef OBCS_SEAICE_COMPUTE_UVICE
a589927d63 Jean*0056 #endif /* OBCS_UVICE_OLD */
                0057 
                0058 C     Smooth the tracer sea-ice variables near the edges.
                0059 #undef OBCS_SEAICE_SMOOTH_EDGE
b35e06869b Jean*0060 
                0061 #endif /* ALLOW_OBCS */
                0062 #endif /* OBCS_OPTIONS_H */