Please enable JavaScript to view this site.

Knowledge Base

Adds a container group to the simulation environment.  Container groups can be used to put multiple structures, monitors, and/or sources together in a single group in the objects tree.  In DEVICE container groups are always children of the solver regions and cannot contain any structure.  If multiple solver regions are present in the DEVICE objects tree then this command will add a container group to the solver region that is currently selected.

 

Supported Product: FDTD, MODE, DEVICE

 

Syntax

Description

addgroup;

Adds a container group to the simulation environment.  In DEVICE it will add a container group to the solver region that is currently selected.

This function does not return any data.

 

Example

Add a container group to the HEAT solver region (in DEVICE) and put a uniform heat source in it.

select("HEAT");

addgroup;

set("name","test_group");

adduniformheat;

addtogroup("test_group");

 

NOTE:  In this example script, since the uniform heat source is also a child of the HEAT solver, we do not need to specify the full path for the container group name (e.g. HEAT::test_group).

 

See Also

Adding Objects, addtogroup, addstructuregroup, addanalysisgroup

Copyright Lumerical Inc. | Privacy | Site Map