Access to material properties within computeProperties() #19062
-
|
Hi all, Can the material properties of other elements be accessed/modified when the Regards, Albert |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
|
Hello Not natively. It can be done with some hacking (reinit on neighbor element, compute, reinit on local) Could you please give us more details about your use case? Second caveat: Guillaume |
Beta Was this translation helpful? Give feedback.
-
|
You are probably already aware of this, another issue here is that you are going to get a dense matrix using this approach, which may very likely bring you more trouble than it is worth. |
Beta Was this translation helpful? Give feedback.
Hello
Not natively. It can be done with some hacking (reinit on neighbor element, compute, reinit on local)
You can access the neighbor material properties in interface_kernels though. If you are using those and the work performed in the material
computeProperties()can be moved there, that is an option.Could you please give us more details about your use case?
Second caveat:
It can be done in the functor material system which we are adding here, and which does not leverage computeProperties but does on-demand computation of matprops : #18395
Guillaume