Back to home page

MITgcm

 
 

    


File indexing completed on 2024-05-19 05:11:37 UTC

view on githubraw file Latest commit 672b8226 on 2024-05-18 15:32:33 UTC
41fb919ba6 Dimi*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
41fb919ba6 Dimi*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 
a589927d63 Jean*0025 C Enable OB conditions following Stevens (1990)
                0026 #undef ALLOW_OBCS_STEVENS
                0027 
672b822630 Jean*0028 C Allow sponge layer treatment of open boundary conditions
41fb919ba6 Dimi*0029 #undef ALLOW_OBCS_SPONGE
                0030 
c7c4b57180 Dimi*0031 C Include hooks to sponge layer treatment of pkg/seaice variables
                0032 #define ALLOW_OBCS_SEAICE_SPONGE
                0033 
41fb919ba6 Dimi*0034 C balance barotropic velocity
                0035 #undef ALLOW_OBCS_BALANCE
                0036 
672b822630 Jean*0037 C Allow to add barotropic tidal contributions to OB velocity
6f4cf52d27 Dimi*0038 #define ALLOW_OBCS_TIDES
                0039 
f6dc3b3f65 Jean*0040 C Use older implementation of obcs in seaice-dynamics
c7c4b57180 Dimi*0041 C note: most of the "experimental" options listed below have not yet
                0042 C       been implementated in new version.
867004ba33 Jean*0043 #undef OBCS_UVICE_OLD
f6dc3b3f65 Jean*0044 
c7c4b57180 Dimi*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 
41fb919ba6 Dimi*0067 #endif /* ALLOW_OBCS */
                0068 #endif /* OBCS_OPTIONS_H */