See for instance:
for an example with multi material problems with Poisson. Try to first implement a similar approach in your code, and then extend it to 2D when you Get it working.
See for instance:
for an example with multi material problems with Poisson. Try to first implement a similar approach in your code, and then extend it to 2D when you Get it working.