I am setting up a course on multiscale methods to teach next semester. I am hoping to use fenics as the tool to construct operators.
I would like to be able to define functions only on local subdomains - is there a neat way to do this? I couldn’t see an example
For example if I run my code in parallel, I will have a domain decomposition. On an individual processor, I would like to define and solve problems on degrees of freedom which “belong” to that processor (including an overlap).
Currently if I define a function, fenics / petsc handle it, constructing a global function, stored locally, plus appropriate parallel communicators.
Best
Tim Dodwell