Skip to content

Anisotropic MaterialGrid #2831

Answered by stevengj
kdotom asked this question in Q&A
Discussion options

You must be logged in to vote

It sounds like you are confusing interpolation with anisotropy?

The material grid linearly interpolates between two materials, regardless of what kind of materials they are. This doesn't mean that it discards anisotropy.

If these two materials are anisotropic, e.g. 3x3 matrices $\varepsilon_1$ and $\varepsilon_2$, then the material grid results in anisotropic materials. For example, a grid value of $u \in [0,1]$ is converted to an interpolated material $\varepsilon = (1-u) \varepsilon_1 + u \varepsilon_2$, which is fully anisotropic. This is done in the code here:

meep/src/meepgeom.cpp

Lines 578 to 580 in 176eae6

// Linearly interpolate dc epsilon values
cinterp_tensors(m1->

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kdotom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2830 on May 10, 2024 20:29.