Clears mode data from selected FDTD port and ports in MODE's EME solver. For more information about the port object see Ports .
Syntax |
Description |
---|---|
clearportmodedata; |
Clears mode data from selected port. This function does not return any data. |
Example The following script adds a FDTD simulation region and port, then sets the name of the port, and selects the port modes then clears the selected port mode data.
# add objects
addfdtd; # add FDTD simulation region addport; # add port # set up port set("name","input_port"); # set the name of the port seteigensolver("bent waveguide",true); # set the solver to look for modes of a bent waveguide seteigensolver("bend radius",10e-6); # set bending radius to 10 um updateportmodes(1:2); # select the first 2 modes of the port # clear the selected mode data clearportmodedata;
See Also
Ports , addport , set , geteigensolver , seteigensolver , updateportmodes