Some ElementIDInterface functions need to be override in Material #16005
Labels
C: Framework
P: normal
A defect affecting operation with a low possibility of significantly affects.
T: task
An enhancement to the software.
Reason
Material
is different fromDGKernel
orInterfaceMaterial
, where we can retrieve element IDs for both current and neighboring elements.Material
owns three copies: element, face, neighbor. The first two should always get the current element ID while the last one gets the neighboring element ID. If we do not take care of this inMaterial
, user materials much do theif (_neighbor)
check when getting element IDs.Design
A better design that can avoid potential bugs.
Impact
It can either fix potential bugs for applications or temporarily break applications.
The text was updated successfully, but these errors were encountered: