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
Make interfaces const-correct and use more detailed errors with paramError() #17512
Labels
C: Framework
P: normal
A defect affecting operation with a low possibility of significantly affects.
T: task
An enhancement to the software.
Comments
loganharbour
added
T: task
An enhancement to the software.
P: normal
A defect affecting operation with a low possibility of significantly affects.
labels
Apr 5, 2021
loganharbour
added a commit
to aprilnovak/moose
that referenced
this issue
Apr 5, 2021
Co-authored-by: April Novak <novak@berkeley.edu> refs idaholab#17446 and idaholab#17512
loganharbour
changed the title
Interfaces need to be const-correct
Make interfaces const-correct and use more detailed errors with paramError()
Apr 5, 2021
loganharbour
added a commit
to aprilnovak/moose
that referenced
this issue
Apr 5, 2021
Co-authored-by: April Novak <novak@berkeley.edu> refs idaholab#17446 and idaholab#17512
loganharbour
added a commit
to aprilnovak/moose
that referenced
this issue
Apr 5, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
- Make const-correct where possible - Use the related object's paramError and mooseError where possible - Make Reporter more const-correct without the need for a write key for the PostprocessorInterface - Improve the checking of the existance of a postprocessor Refs idaholab#17512
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
- Make const-correct where possible - Use the related object's paramError and mooseError where possible - Make Reporter more const-correct without the need for a write key for the PostprocessorInterface - Improve the checking of the existance of a postprocessor Refs idaholab#17512
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
- Make const-correct where possible - Use the related object's paramError and mooseError where possible - Make Reporter more const-correct without the need for a write key for the PostprocessorInterface - Improve the checking of the existance of a postprocessor Refs idaholab#17512
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
- Make const-correct where possible - Use the related object's paramError and mooseError where possible - Make Reporter more const-correct without the need for a write key for the PostprocessorInterface - Improve the checking of the existance of a postprocessor Refs idaholab#17512
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
- Make const-correct where possible - Use the related object's paramError and mooseError where possible - Make Reporter more const-correct without the need for a write key for the PostprocessorInterface - Improve the checking of the existance of a postprocessor Refs idaholab#17512
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Apr 7, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
Co-authored-by: April Novak <novak@berkeley.edu> refs idaholab#17446 and idaholab#17512
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
- Make const-correct where possible - Use the related object's paramError and mooseError where possible - Make Reporter more const-correct without the need for a write key for the PostprocessorInterface - Improve the checking of the existance of a postprocessor - Remove metadata store for postprocessors in InputParameters/Parser and instead check on the fly Refs idaholab#17512
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
- Use the object's mooseError() and paramError() where possible - Improve function signatures - Use error checking in overridden methods refs idaholab#17512
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
- Declare Reporter values for PPs and VPPs within the objects themselves - Add type checking on declare/request for Reporters with the same name - Add producer/consumer MooseObject ptrs in ReporterState - Add getter for information about a Reporter (type, producers, consumers, context, modes) - Add more error handling to ReporterData, Reporter, and ReporterInterface refs idaholab#17512 idaholab#17605
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
aeslaughter
pushed a commit
to aeslaughter/moose
that referenced
this issue
Jun 2, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Jun 15, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Jun 15, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Aug 24, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Nov 15, 2021
loganharbour
added a commit
to loganharbour/moose
that referenced
this issue
Mar 13, 2022
grmnptr
pushed a commit
to grmnptr/moose
that referenced
this issue
Mar 29, 2022
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.
Reason
I've found quite a few interfaces that aren't const-correct that should be cleaned up (list is still a WIP):
Design
Make these interfaces as const-correct as possible and improve error handling with paramError() where possible.
Impact
Const-correct code is better code, and more detailed errors are better for the end user. May disrupt a few applications with the need to make more methods const, but it's worth it.
The text was updated successfully, but these errors were encountered: