The SURFACE line

Syntax

  SUrface  type  location  

Description

The SURFACE line defines the location of an interface or electrode number along region boundaries for later access. Both electrodes and interfaces can also be defined in an external mesh generator (interfaces have negative electrode numbers). Electrodes can also be defined by the ELECTRODE line, but the SURFACE line restricts the electrode edges to conform to a region interface.

Parameters

type
  Interface  =  logical
  Electrode  =  logical
  Number     =  integer

INTERFACE and SURFACE specify what kind of surface is to be defined. NUMBER defines the electrode or interface number.

location

  X.Min  =  real     (default is min(x) in device)
  X.Max  =  real     (default is max(x) in device)
  Y.Min  =  real     (default is min(y) in device)
  Y.Max  =  real     (default is max(y) in device)
  Z.Min  =  real     (default is min(z) in device)
  Z.Max  =  real     (default is max(z) in device)
  REG1   =  integer  (default is 0)
  REG2   =  integer  (default is 0)

X.MIN, X.MAX, Y.MIN, Y.MAX, Z.MIN and Z.MAX define a bounding box, measured in um. If REG1=REG2=0, any outer edge of the device within this box is incorporated into the surface. With nonzero REG1 and REG2, any boundary between REG1 and REG2 that falls in the box is incorporated.

Examples

Define an interface between regions 1 and 4 within a box which extends through the entire z-dimension.

  SURFACE  INTERFACE NUM=1 REG1=1 REG2=4
  +        X.MIN=-4 X.MAX=4 Y.MIN=-0.5 Y.MAX=4