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

Errors in "poynting.m" in examples

matthewgiarra opened this issue · comments

In multiple examples, which should presumably work, the function poynting.m gives an error:

Undefined function or variable 'array'.

Error in poynting (line 105)
S_scalar2d = Scalar2d(array, grid2d, gt_array, osc,
physQ, ['<', physQ.symbol, '_', char(polarization),
'>'], intercept);

Error in mdm (line 56)
	Sx = poynting(Axis.x, E{Axis.y}, E{Axis.z},
        H{Axis.y}, H{Axis.z}, Axis.y, 0);

This problem is not fix untill yet in mdm.m example