Skip to content

Commit

Permalink
Clean up config file
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrus89 committed Sep 6, 2024
1 parent 1550d55 commit 66bb5c9
Showing 1 changed file with 37 additions and 8 deletions.
45 changes: 37 additions & 8 deletions compass/ocean/tests/global_ocean/wave_mesh/wave_mesh.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,42 @@
[wave_mesh]

hfun_grid_spacing = 0.5 # units of deg
# Spacing of grid used to specify wave mesh resolution, units of deg
hfun_grid_spacing = 0.5

# Resolution gradient limit
hfun_slope_lim = 0.15
depth_threshold_refined = 1000.0 # units of m
distance_threshold_refined = 300.0 # units of km
depth_threshold_global = 1000.0 # units of m
distance_threshold_global = 300.0 # units of km
refined_res = 20000.0 # units of m
maxres = 225000.0 # units of m

# Ocean mesh resolution threshold for where depth_threshold_refined
# and distance_threshold_refined, criteria apply. This can be used
# to set more flexible threshold values for regionally refined ocean
# meshes, units of m.
refined_res = 20000.0

# Ocean resolution gets applied where depth is less than this threshold
# and where ocean resolution is less than refined_res, units of m
depth_threshold_refined = 1000.0

# Maximum distance from coast where ocean resolution gets applied
# where ocean resolutoin is less than refined_res, units of km
distance_threshold_refined = 300.0

# Ocean resolution gets applied where depth is less than this threshold, units of m
depth_threshold_global = 1000.0

# Maximum distance from ocast where ocean resolution gets applied, units of km
distance_threshold_global = 300.0

# Maximum resolution of waves mesh, units of m
maxres = 225000.0

# Number of spectral directions bins
ndir = 36
nfreq = 50

# Number of spectral frequency bins
nfreq = 36

# Path to existing base ocean mesh (optional)
# ocean_base_mesh =

# Path to existing culled ocean mesh (optional)
# ocean_culled_mesh =

0 comments on commit 66bb5c9

Please sign in to comment.