Hi Jiangcheng, the instruction of the method field_energy_in_box points out it only has > one parameter but it requires two (another calls d) when I use the method
Thanks for pointing this out. It was an inconsistency with the scheme interface, and is fixed in PR 239: https://github.com/stevengj/meep/pull/239 Chris On Sun, Mar 18, 2018 at 9:44 PM, 盛建诚 <a807920...@gmail.com> wrote: > Dear meep users, > I just want to calculate the transmission efficiency of a waveguide and I > don't know why there is not a attribute of direction in the attribute list > of sources. In this case,the energy of sources spreads out and how can I > calculate the efficiency?Additionally , the instruction of the method > field_energy_in_box points out it only has one parameter but it requires > two (another calls d) when I use the method, what's the function of > parameter d? > wish to get your help,thanks a lot ! > Best, > Jiangcheng > > > _______________________________________________ > meep-discuss mailing list > meep-discuss@ab-initio.mit.edu > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss >
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss