InterpolateCmd

From Flooxs
Revision as of 14:43, 8 May 2009 by Law (talk | contribs) (New page: = Interpolate = interpolate - a command to return the request position or value at a specified location == Synposis == === interpolate === Material Description [na...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Interpolate

interpolate - a command to return the request position or value at a specified location

Synposis

interpolate

 Material Description
[name=<c>]
[x=<n>][y=<n>][z=<n>][val=<n>]

Description

This command is one of the most powerful commands in the program for analyzing simulation results. It will return the interpolated value of one coordinate given the other two coordinates in the three space defined by x and y variable and the data field. It also works for one dimensional simuation by returning values as a function of one coordinate.

This function may return a tcl list of values, in the event that there are more than one found. For example, there may be several junctions found along a given line. All of these are returned and can be processed by normal tcl list oprations. For most cases, this command will return a single value.

This command has multiple uses. It can return the data value at a specified position in the structure or return the position at which a specified data value occurs. For that reason, it is an extremely useful command.

x,y,z,val
These parameters specify where in the simulation space to look at. In a two dimensional simulation, specification of x and y will return the data value at that position in the structure. Specification of x and val will return the lateral values at which the data field is equal to the specified z at a fixed vertical position of x. In one dimension, one of x and val must be specified. In two dimensional simulation, two of x, y, and val must be specified. In three-dimensions, three of the four must be specified.
Material Description
Please see the introduction section on how to specify the material. This limits the search to a single material. This option is required.

Examples

Two Dimensional Examples

interpolate oxide x=1.0 y=1.0

This command will return the value of the data field at the position (1.0um, 1.0um) in the oxide.

interpolate y=0.0 silicon val=0.0

This command will return a list of zero crossings in the silicon of the data field along the horizontal position of 0.0um.

interpolate silicon x=2.0 val=0.0

This will provide a list of zero crossings in silicon along a horizontal line at a depth of 2.0um.

One Dimensional Examples

interpolate x=1.0 silicon

This will return the value of the data field at 1.0um.

interpolate silicon val=0.0

This will return a list of zero crossings in the silicon material.

Bugs and Missing Features

None. This command is pretty powerful as is.

See Also

interface, Printing Examples