Adds a mode source to the 2.5D varFDTD simulation environment. The varFDTD solver object must be set as the active solver for this command to work.
Syntax |
Description |
---|---|
addmodesource; |
Adds a mode source to the varFDTD solver region. This function does not return any data. |
Example
The following script commands will add a mode source to the varFDTD solver region in MODE and select the injection axis.
addmodesource; set("injection axis","x"); set("x",0); set("y",0); set("y span",5e-6);
See Also