MeshRestriction in Multiphenicsx #5
-
Hi Guys, So far in Multiphenics I was able to use PS: please find below an example of what I would like to translate to Multiphenicsx.
Where the file "sub.rtc.xml" contains the cells, facets and vertices of my desired submesh. Thanks, Sidaty, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
The concept of MeshRestriction is not required anymore in multiphenicsx, due to the way the new FEniCSx handles degrees of freedom. The closest concept we have in multiphenicsx is DofMapRestriction, which already operates on DOFs, rather than mesh entities. Please compare |
Beta Was this translation helpful? Give feedback.
-
Hi Francesco, Thank you for the help, Indeed, the Lagrange multipliers linear example was very helpful. I've managed solve my problem by implementing another version of Best, Sidaty, |
Beta Was this translation helpful? Give feedback.
The concept of MeshRestriction is not required anymore in multiphenicsx, due to the way the new FEniCSx handles degrees of freedom.
The closest concept we have in multiphenicsx is DofMapRestriction, which already operates on DOFs, rather than mesh entities. Please compare
tutorials/03_lagrange_multipliers/tutorial_lagrange_multipliers_linear.ipynb
to the corresponding multiphenics tutorial.