Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

+Add an interface filtering capability #195

Merged
merged 2 commits into from
Sep 7, 2022

Conversation

Hallberg-NOAA
Copy link
Member

Added the new module MOM_interface_filter to allow for a biharmonic or
other order of filtering of the interface heights. This new capability
is enabled with the new runtime parameter APPLY_INTERFACE_FILTER, and with
rates of filtering determined by the new runtime parameters
INTERFACE_FILTER_TIME, INTERFACE_FILTER_MAX_CFL, INTERFACE_FILTER_ORDER and
INTERFACE_FILTER_ISOTROPIC. Set APPLY_INTERFACE_FILTER to True and provide a
positive timescale in INTERFACE_FILTER_TIME to enable the filtering.

The comments describing THICKNESSDIFFUSE and THICKNESSDIFFUSE_FIRST were
also updated to clarify the distinctions with the new capabilities or to
clearly identify which parameters work together.

By default, all answers are bitwise identical, but there are new entries or
modified comments in the MOM_parameter_doc files.

(Note: In some recent runs, I have been getting bus errors with some runs on Gaea, but I am also
getting this with the most recent version of dev/gfdl, so I suspect that this is a problem with a recent
update to Gaea, which occurred shortly before these errors started occurring, so I strongly suspect
that this is a problem with Gaea, and not a problem with this PR.)

@codecov
Copy link

codecov bot commented Aug 14, 2022

Codecov Report

Merging #195 (f56175d) into dev/gfdl (66ba6a7) will decrease coverage by 0.04%.
The diff coverage is 4.91%.

❗ Current head f56175d differs from pull request most recent head 7017f1a. Consider uploading reports for the commit 7017f1a to get more accurate results

@@             Coverage Diff              @@
##           dev/gfdl     #195      +/-   ##
============================================
- Coverage     37.22%   37.17%   -0.05%     
============================================
  Files           261      262       +1     
  Lines         72499    72595      +96     
  Branches      13554    13578      +24     
============================================
+ Hits          26985    26986       +1     
- Misses        40514    40604      +90     
- Partials       5000     5005       +5     
Impacted Files Coverage Δ
src/core/MOM_variables.F90 46.96% <ø> (ø)
...parameterizations/lateral/MOM_interface_filter.F90 0.00% <0.00%> (ø)
src/core/MOM.F90 50.65% <23.07%> (-0.64%) ⬇️
src/diagnostics/MOM_sum_output.F90 73.94% <0.00%> (+8.93%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@andrew-c-ross
Copy link

(Note: In some recent runs, I have been getting bus errors with some runs on Gaea, but I am also
getting this with the most recent version of dev/gfdl, so I suspect that this is a problem with a recent
update to Gaea, which occurred shortly before these errors started occurring, so I strongly suspect
that this is a problem with Gaea, and not a problem with this PR.)

Anecdotal confirmation FWIW, I also started getting bus errors only on C3 and immediately after the update to C3, with a much older version of MOM6. I have a help desk ticket in.

  Added the new module MOM_interface_filter to allow for a biharmonic or
other order of filtering of the interface heights.  This new capability
is enabled with the new runtime parameter APPLY_INTERFACE_FILTER, and with
rates of filtering determined by the new runtime parameters
INTERFACE_FILTER_TIME, INTERFACE_FILTER_MAX_CFL, INTERFACE_FILTER_ORDER and
INTERFACE_FILTER_ISOTROPIC.  Set APPLY_INTERFACE_FILTER to True and provide a
positive timescale in INTERFACE_FILTER_TIME to enable the filtering.

  The comments describing THICKNESSDIFFUSE and THICKNESSDIFFUSE_FIRST were
also updated to clarify the distinctions with the new capabilities or to
clearly identify which parameters work together.

  By default, all answers are bitwise identical, but there are new entries or
modified comments in the MOM_parameter_doc files.
  Corrected the doxygen comments for the interface filtering module, to avoid
a section-name conflict with the GM module, and renamed some internal variables
for greater clarity when reading the code.  All answers are bitwise identical.
@marshallward
Copy link
Member

Gaea regression: https://gitlab.gfdl.noaa.gov/ogrp/MOM6/-/pipelines/16697 ✔️ 🟡

@marshallward marshallward merged commit a490004 into NOAA-GFDL:dev/gfdl Sep 7, 2022
@Hallberg-NOAA Hallberg-NOAA deleted the filter_interface branch May 10, 2024 22:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants