I am trying to create an inhomogeneous and anisotropic structure with a different permeability tensor at different positions. I have defined a function that takes a Vector3 and returns a Medium instance with values for mu_diag and mu_off_diag. However, this does not affect the simulation, which behaves as if it's just a homogeneous isotropic block.
(FYI I have tried a material function that changes mu based on position and this works)
I am trying to create an inhomogeneous and anisotropic structure with a different permeability tensor at different positions. I have defined a function that takes a Vector3 and returns a Medium instance with values for mu_diag and mu_off_diag. However, this does not affect the simulation, which behaves as if it's just a homogeneous isotropic block.
(FYI I have tried a material function that changes mu based on position and this works)