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
getMaterialProperty in DGKernel is not checked for integrity #9482
Comments
Here is a test!
|
I don't have time to work on this right now but it should be very easy to fix. We've just been intercepting the calls in other objects and keeping track of these things. I believe we do it in AuxKernel for instance. |
While fixing this, I noticed two corner cases we miss the coverage check, see 18e60a2. We need to fix them in the future. |
Ah, did not realize an issue has already been created. It is too complicated because the property could be provided through volume-face materials or boundary materials. First there should be something in place to make sure the two sets of materials are not providing the same properties. We basically need a map in type |
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
(closes idaholab#9835) (closes idaholab#5309) (closes idaholab#9482)
Description of the enhancement or error report
Looks like
DGKernel::getMaterialProperty
is not mark the consumer of the material property, thus the problem integrity check is not covering the case whereDGKernel
is trying to use a un-declared property.Rationale for the enhancement or information for reproducing the error
DG kernels may not properly set up.
Identified impact
(i.e. Internal object changes, limited interface changes, public API change, or a list of specific applications impacted)
Input robustness.
The text was updated successfully, but these errors were encountered: