We already have a routine sym_matrix_positive_definite in meepgeom.cpp to check if a real-symmetric 3x3 matrix is positive-definite. It would be good to run this on all the materials in the geometric-object and extra-material lists and print a warning if it returns false on ε, μ, or σ (ala #3230).
We already have a routine
sym_matrix_positive_definitein meepgeom.cpp to check if a real-symmetric 3x3 matrix is positive-definite. It would be good to run this on all the materials in the geometric-object and extra-material lists and print a warning if it returns false on ε, μ, or σ (ala #3230).