wsshin / maxwellfdfd

MATLAB-based solver package of Maxwell's equations by the FDFD method

Home Page:http://www.mit.edu/~wsshin/maxwellfdfd.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Undefined function 'isdiag' for input arguments of type 'double'.

wlx1993 opened this issue · comments

Undefined function 'isdiag' for input arguments of type 'double'.

Error in Material/get.hasisoeps (line 120)
truth = isdiag(this.eps) && all(diag(this.eps) == this.eps(1,1));

Error in Material/get.isiso (line 128)
truth = this.hasisoeps && this.hasisomu;

Error in build_system (line 320)
isiso = isiso && mat.isiso;

Error in maxwell_run (line 287)
[osc, grid3d, s_factor, eps, mu, J, M, obj_array, src_array, mat_array, eps_node, mu_node,
isiso] = ...

Error in pointsrc_2d (line 10)
[E, H, obj_array, src_array, J] = maxwell_run(...

Thanks.