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

Enhance DiffSameGrid2.cpp #2114

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

ajnonaka
Copy link
Contributor

Summary

This utility, when using L0 norm, now outputs an additional column with the absolute error divided by the maximum value on the coarse grid. This is useful for comparing/verifying data with local regions of very small (close to zero in a machine precision sense) values that may fluctuate based on roundoff errors.

Additional background

Checklist

The proposed changes:

  • fix a bug or incorrect behavior in AMReX
  • [ x ] add new capabilities to AMReX
  • changes answers in the test suite to more than roundoff level
  • are likely to significantly affect the results of downstream AMReX users
  • are described in the proposed changes to the AMReX documentation, if appropriate

@ajnonaka ajnonaka requested a review from WeiqunZhang June 16, 2021 19:22
@WeiqunZhang WeiqunZhang merged commit 04464a4 into AMReX-Codes:development Jun 17, 2021
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.

2 participants