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 a post-processor to compute the relative difference between 2 post-processors #10148

Closed
joshuahansel opened this issue Oct 25, 2017 · 3 comments
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.

Comments

@joshuahansel
Copy link
Contributor

Rationale

It is useful to be to able to test that 2 post-processor values are relatively equal; this can be achieved by computing the relative difference between them and comparing to a tolerance. For instance, a test might output this relative difference value to a CSV file and then use the CSVDiff tester with abs_zero = my_relative_tol and rel_tol = 0.

Description

This adds a post-processor that computes the relative difference between 2 post-processor values.

Impact

This only adds a new post-processor; it does not affect any existing code.

@mangerij
Copy link
Contributor

mangerij commented Oct 25, 2017 via email

@joshuahansel
Copy link
Contributor Author

I do not see any PercentDifference post-processor. Could you tell me where this is located? The closest thing I see is PercentChangePostprocessor, but this is measuring the percent difference of a single post-processor between time steps, whereas I'm wanting to compute the percent difference between 2 post-processors for a given time level.

@mangerij
Copy link
Contributor

mangerij commented Oct 25, 2017 via email

joshuahansel added a commit to joshuahansel/moose that referenced this issue Oct 26, 2017
@permcody permcody added C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software. labels Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: Framework P: normal A defect affecting operation with a low possibility of significantly affects. T: task An enhancement to the software.
Projects
None yet
Development

No branches or pull requests

3 participants