InterfaceCmd
Interface
interface - return the location of a material interface
Synopsis
interface
material [ x=<n> ] [ y=<n> ] [ z=<n> ] [ value ]
Description
This command is used to return the position of an interface. It can therefore be used to prepare plots of material thickness, silicon consumption, or material growth. It is also commonly used to provide an argument to the interpolate command. This command returns a list, in case more than one interface is encountered. The list processing commands of tcl, particularly lindex, are very helpful.
- Material Description
- Please see the introduction for information on specifying materials. This command normally works with an interface description, and returns the location. If an interface is not specified, an error will occur. If the specified interface does not exist in the current structure, an error is reported.
- x, y, z
- This provides the description of a line to look for the interface. It is unnecessary in one dimensional simulation. In two dimensions, one of x and y must be specified. In three dimensions, two of these must be specified. The value is in um.
- value
- This boolean indicates that instead of returning the position, that the current default plot variable's value b returned instead. This is useful for new simulations with dose accumulation at interfacial layers.
Examples
interface y=1.0 silicon /oxide
This will return the silicon oxide interface at a lateral position of 1.0um.
interface oxide /gas
This returns the top position of the oxide.
Bugs and Missing Features
None. This is a pretty powerful command combined with tcl. See the final [examples.html examples] subsection.