Talk:Meep Reference
From AbInitio
Revision as of 16:55, 22 November 2005 (edit) Mihai (Talk | contribs) (Tips & Tricks: amplitude [cnumber]) ← Previous diff |
Revision as of 17:16, 22 November 2005 (edit) Mihai (Talk | contribs) (amp-func not working?) Next diff → |
||
Line 11: | Line 11: | ||
:;<code>amplitude</code> [<code>cnumber</code>] | :;<code>amplitude</code> [<code>cnumber</code>] | ||
- | Note that this '''must''' be a complex number which you can enter as <code>2.0+1.0i</code>. You will get an error if you pass a real/double number. | + | Note that this '''must''' be a complex number which you can enter as <code>2.0+1.0i</code>. You will get an error if you pass a real/double number. --[[User:Mihai|Mihai]] 12:16, 22 Nov 2005 (EST) |
+ | |||
+ | :;<code>amp-func</code> [<code>function</code>] | ||
+ | This doesn't seem to work right now. I get <code>No matching method for generic function `meep_fields_add_volume_source'</code>. Maybe a bug? --[[User:Mihai|Mihai]] 12:16, 22 Nov 2005 (EST) |
Revision as of 17:16, 22 November 2005
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)
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)