# Knowledge Base

Adds a current flux monitor to the simulation environment.  This command requires the presence of a CHARGE solver region in the objects tree.

 Supported Product: DEVICE

 Syntax Description addjfluxmonitor; Adds a current flux monitor to the simulation environment. This function does not return any data.

Example

The following script commands will add a 2D y-normal current flux monitor to the simulation environment and set its dimension.

set("name","current_flux");

set("monitor type",7);  #  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("y span",5e-6);

set("z",0);