Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > Adding Objects

addpmc

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Adds a PMC (perfect electrical conductor) boundary condition to the DGTD or FEEM solver in DEVICE.  A DGTD or FEEM solver region must be present in the objects tree for this command to work. If both solvers are present then the intended solver's name must be provided as an argument to the script command.  

 

Supported Product: DEVICE

 

Syntax

Description

addpmc;

Adds a PMC boundary condition to the DGTD or FEEM solver  (whichever is present in the objects tree).

 

This function does not return any data.

addpmc("solver_name");

Adds a PMC boundary condition to the desired solver defined by the argument "solver_name".  The options are "DGTD" and "FEEM".

 

This function does not return any data.

 

Example 1

The following script commands will add a PMC boundary condition to the solver already present in the objects tree and print all available properties of the boundary condition.

 

addpmc;

?set;

 

Example 2

The following script commands will add a PMC boundary condition to the DGTD solver, name it, and assign it to the -y and +y boundaries of the simulation region.

 

addpmc("DGTD"); 

set("name","PMC_y");

set("surface type","simulation region");

set("y min",1);

set("y max",1);

 

See Also

adddgtdsolver, addpml, addpec, addperiodic, addabsorbing

Copyright Lumerical Inc. | Privacy | Site Map