CALL: ELECTRIC_FIELD_3
This procedure accepts input arguments of types Number and Matrix.
If at least one of the input arguments x, y, z is of type Matrix,
then all output arguments are of type Matrix, with the dimensions
of the first input argument of type Matrix. If one or more input
arguments are of type Number and one or more others of type Matrix,
then the Number type arguments are "expanded" to become Matrices
filled uniformly with the value of the Numbers.
The coordinates system expected by ELECTRIC_FIELD_3 is the internal
frame. If you describe your cell in Cartesian coordinates, then
the internal frame is simply the Cartesian coordinate system. If
polar coordinates are used however, then you should supply the
following parameters:
for x: log(r)
for y: phi, in radians
for z: z
The z-coordinate is not affected by any of the conformal mappings
currently in use by the program.
The field is returned in internal coordinates. The internal coordinates
system is Cartesian when the cell is described in Cartesian coordinates,
but when you describe the cell in polar coordinates, you've to apply the
following mapping:
Er = Ex/r
Ephi = Ey/r
Ez is invariant under this mapping.
Indicates where the point is located, if only scalar arguments are used
as coordinates, then the status is returned in the form of a string. If
at least one coordinate is a Matrix, then a matrix filled with numeric
location codes is returned.
-------------------------------------------------------------------------
Status Location Code
-------------------------------------------------------------------------
In a material Inside the mesh, but not in a drift medium -5
In an X wire Inside a wire of type X > 0
Normal In the active part of the cell 0
Outside mesh Not in any mesh triangle or tetrahedron -6
Outside plane On the side of a plane where no wires are -4 to -1
Unknown potential Unknown potential type (shouldn't occur) -10
Unknown Other cases (shouldn't occur) other
-------------------------------------------------------------------------
Keyword index.
Formatted on 10/11/98.