Back to home page

MITgcm

 
 

    


File indexing completed on 2024-06-06 05:11:44 UTC

view on githubraw file Latest commit af61e5eb on 2024-06-06 03:30:35 UTC
af61e5eb16 Mart*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 #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 
                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 #define ALLOW_OBCS_STEVENS
                0027 
                0028 C Allow sponge layer treatment of open boundary conditions
                0029 #undef ALLOW_OBCS_SPONGE
                0030 
                0031 C Include hooks to sponge layer treatment of pkg/seaice variables
                0032 #define ALLOW_OBCS_SEAICE_SPONGE
                0033 
                0034 C balance barotropic velocity
                0035 #define ALLOW_OBCS_BALANCE
                0036 
                0037 C Allow to add barotropic tidal contributions to OB velocity
                0038 #define 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 
                0067 #endif /* ALLOW_OBCS */
                0068 #endif /* OBCS_OPTIONS_H */