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

Added error to prevent segfault in DebugResidualAux #29920

Open
wants to merge 3 commits into
base: next
Choose a base branch
from

Conversation

DanielYankura
Copy link
Contributor

Reason

-Makes debugging input file easier

Design

-Added check in DebugResidualAux constructor that checks that order and family parameters match for var and aux var
-Added basic test for DebugAuxillaryAux
-Added DebugResidualAux test that checks to ensure error is throw when order/family params don't match

Impact

Less time spent on user support

closes #27633

@moosebuild
Copy link
Contributor

moosebuild commented Feb 20, 2025

Job Documentation, step Docs: sync website on 322d92f wanted to post the following:

View the site here

This comment will be updated on new commits.

@moosebuild
Copy link
Contributor

moosebuild commented Feb 20, 2025

Job Coverage, step Generate coverage on 322d92f wanted to post the following:

Framework coverage

776373 #29920 322d92
Total Total +/- New
Rate 85.28% 85.28% +0.00% 100.00%
Hits 108520 108528 +8 8
Misses 18726 18726 - 0

Diff coverage report

Full coverage report

Modules coverage

Coverage did not change

Full coverage reports

Reports

This comment will be updated on new commits.

-Added check in DebugResidualAux constructor that checks that order and family parameters match for var and aux var
-Added basic test for DebugAuxillaryAux
-Added DebugResidualAux test that checks to ensure error is throw when order/family params don't match

closes idaholab#27633
@DanielYankura DanielYankura force-pushed the DebugResidualAux_SegFaul branch from c8081a4 to 322d92f Compare February 20, 2025 16:48
Comment on lines 7 to 8
requirement = "The system shall have the ability to create an auxillary variable that keeps track of another variable's residuals."
[errors]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
requirement = "The system shall have the ability to create an auxillary variable that keeps track of another variable's residuals."
[errors]
requirement = "The system shall have the ability to create an auxillary variable that keeps track of another variable's residuals."
[]
[errors]

Copy link
Contributor

Choose a reason for hiding this comment

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

I d delete the first one. there is already a test for this auxkernel as code coverage shows

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you want I can move that test over into the debug_residual_aux folder. That way on the docs page for this auxkernel it will have the two tests listed, now just the one that tests the error catch.

@GiudGiud GiudGiud self-assigned this Feb 20, 2025
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.

SegFault (and potential for better error message) when using DebugResidualAux
3 participants