Please enable JavaScript to view this site.

Knowledge Base

Adds an electric field monitor to the simulation environment.  This command requires the presence of a CHARGE solver region in the objects tree.

 

Supported Product: DEVICE

 

Syntax

Description

addefieldmonitor;

Adds an electric field monitor to the simulation environment.

This function does not return any data.

 

Example

The following script commands will add a 2D y-normal electric field monitor to the simulation environment, set its dimension, enable saving the electrostatic potential, and save the data in a .mat file.

addefieldmonitor;

set("name","E_field");

set("monitor type",6);  #  2 = linear x, 3 = linear y, 4 = linear z, 5 = 2D x-normal, 6 = 2D y-normal, 7 = 2D z-normal, 8 = 3D

set("x",0);

set("x span",5e-6);

set("y",0);

set("z",0);

set("y span",5e-6);

set("record electrostatic potential",1);

set("save data",1);

filename = "electric_field.mat";

set("filename",filename);

 

See Also

Adding Objects, set, addbandstructuremonitor, addchargemonitor, addjfluxmonitor

Copyright Lumerical Inc. | Privacy | Site Map