Please enable JavaScript to view this site.

Knowledge Base

Mode sources, mode expansion monitors, and ports in FDTD Solutions and MODE Solutions, and each individual cell in EME have embedded eigensolvers. This script command makes it possible to set the properties of that eigensolver without using the GUI.

 

Changing any values of the embedded eigensolver with this command will automatically invalidate any existing mode data. This means that new updates based on overlap calculations with previous modes will fail after using this command. Therefore please call this command before making any calls to updatesourcemode or updatemodes.

 

Supported Product: FDTD, MODE

 

Syntax

Description

?seteigensolver;

Returns a list of the properties of the embedded eigensolver

seteigensolver("property",value);

This will set the eigensolver properties of the currently selected objects.

Value can be a number or string. This function does not return any data.

 

Example

1.Change the radius of curvature for a mode expansion calculation, and calculate the first 10 modes which can be subsequently used for mode expansion. Please open ring_resonator2.lms from the ring resonator example using the varFDTD solver in MODE Solutions:

select("expansion");

seteigensolver("bent waveguide",true);

seteigensolver("bend radius",10e-6);

updatemodes(1:10);

 

2. Change the number of trial modes for cell 1 in EME:

select("EME::Cells::cell_1");
seteigensolver("number of trial modes",25);

 

Also see the examples in the addmodeexpansion, and addport script functions.

 

See Also

Manipulating objects, addmode, addmodeexpansion, addport, clearsourcedata, clearmodedata, clearportmodedata, expand, geteigensolver, updatemodes, updatesourcemode, updateportmodes

Copyright Lumerical Inc. | Privacy | Site Map