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
Added a post-processor to compute relative difference between 2 post-processors #10150
Added a post-processor to compute relative difference between 2 post-processors #10150
Conversation
Job Documentation on 8be1b6a wanted to post the following: View the site here This comment will be updated on new commits. |
Linear combination, relative difference... looks like it is starting to make sense to add a |
Let's just jump right to |
I believe I once required this |
PostprocessorValue | ||
RelativeDifferencePostprocessor::getValue() | ||
{ | ||
if (std::abs(_value2) < _zero_tol) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI - We coded this common operation up a long time ago:
https://github.com/idaholab/moose/blob/devel/framework/include/utils/MooseUtils.h#L213
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry - that's not the correct method. You are comparing against zero here. There are several methods in that file you might want to check out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok thanks, I will use absoluteFuzzyEqual
then.
My new function parser will actually make a parsed kernel totally possible! With actual jacobian derivation. |
Let me know when Santa brings us a |
b4a011f
to
8be1b6a
Compare
Added a post-processor to compute relative difference between 2 post-processors.
Closes #10148