Talk:Meep Reference
From AbInitio
(diff) ←Older revision | Current revision | Newer revision→ (diff)
Tips & Tricks
This is a list of things that people had troubles with even after reading the meep reference. It can include common mistakes people make in their control files, caveats, unclear explanations in the reference section, potential bugs. The list has two purposes: (i) to help people when they get stuck with something, and (ii) to help developers improve the documentation and the code.
For easier navigation, please try to maintain the section structure/ordering of the Meep Reference page when you add content to this list.
Classes
source
amplitude
[cnumber
]
Note that this must be a complex number which you can enter as 2.0+1.0i
. You will get an error if you pass a real/double number. --Mihai 12:16, 22 Nov 2005 (EST)
- This is due to a SWIG bug, I think (although I might be able to work around it). However, it doesn't need to be complex, only real. E.g. use
1.0
instead of1
; you don't need to use1+0i
(although this will work too). —Steven G. Johnson
amp-func
[function
]
This doesn't seem to work right now. I get No matching method for generic function `meep_fields_add_volume_source'
. Maybe a bug? --Mihai 12:16, 22 Nov 2005 (EST)
- This was a bug; I've fixed it and it works now. —Steven G. Johnson 11:28, 23 Nov 2005 (EST)