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

Convert ersatz MMS tests to use library MMS features #2348

Merged
merged 1 commit into from
Jun 10, 2021
Merged

Conversation

ZedThree
Copy link
Member

Two MMS tests did lots of the source/solution/boundary condition stuff manually. This PR converts them to use the library features:

  • move the source/solution functions into the input file
  • add solver:mms = true
  • delete unneeded header

Useful for #2209 so I don't need to faff about writing the error fields from the custom monitors, instead this will let the library take care of them automatically.

@ZedThree ZedThree requested a review from bendudson June 10, 2021 09:42
Copy link
Contributor

@bendudson bendudson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent! That simplifies things quite a bit. I think these were some early tests, which were developed before or while the library MMS support was implemented.

@github-actions
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@bendudson bendudson merged commit 57566e3 into next Jun 10, 2021
@bendudson bendudson deleted the tidy-mms-tests branch June 10, 2021 10:14
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.

None yet

2 participants