How to define 3 different material in those 3 parts?


Hi, everyone.
I have known how to create the geometry in FEniCS. But it has 3 different parts with different materials. Can someone tell me how to how to define different materials in the 3 parts? Thanks

See Defining subdomains for different materials — FEniCSx tutorial or
Electromagnetics example — FEniCSx tutorial
Which has several similar domains.