On Sat, 20 May 2006, Chad Husko wrote:
When I run the scheme code below, I'm receiving the following error:
ERROR: In procedure meep-fields-get-field:
ERROR: No matching method for generic function
`meep_fields_get_field'
I can't seem to debug it. Does anyone know a quick fix?
This error means that you are passing the wrong type somewhere, and
therefore Meep (or rather, SWIG) can't match the argument types to a C++
prototype.
(run-sources+ 300 (after-sources (harminv Ey (vector 0 0.1234) fcen
The above line is the culprit, I believe. Use "vector3", not "vector".
(vector3 actually produces a Scheme vector, but it always generates a
vector of length 3 by adding zeros if necessary, whereas vector produces a
vector of the length you give it, here length 2.)
Steven
_______________________________________________
meep-discuss mailing list
[email protected]
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss