If at least one of the input arguments x and y 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 input argument is of type Number and the other of type Matrix, then the Number type argument is "expanded" to become a Matrix filled uniformly with the value of the Number.
The coordinates system expected by ELECTRIC_FIELD 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: \φ, in radians
These mappings can be performed with the POLAR_TO_INTERNAL procedure.
Er = Ex/r Ephi = Ey/r Ez is invariant
This argument must be modifiable and its value prior to the call will be overwritten.
On return, the argument will be of type Matrix if either of the coordinates is of that type, otherwise it will be of type Number.
See also ex.
Status | Location string | Numeric |
---|---|---|
In a material |
Inside the mesh, but not in a drift medium | -5 |
In X-wire N |
Inside wire number N of type X | 1-MXWIRE |
In X-solid N |
Inside solid number N of type X | > 2*MXWIRE |
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 |
Formatted on 21/01/18 at 16:55.