Elementwise operator applied to parts of domain
In some cases it would be useful to apply an operator to only some part of the domain.
In particular, I need to apply a P1ElementwiseOperator to only a few faces that satisfy a certain condition. This is currently done by using a modified apply function that takes such a condition as an argument and then checks the condition for every face.
Maybe this is useful for others as well in which case it could be implemented as a new feature or maybe there is already a method to do this which I am unaware of.
EDIT: A first simple version of the P1ElementwiseOperator that is only applied to some faces can be seen on the branch „dechant+wagneran/LaplaceBeltrami2“
Edited by Maximilian Dechant