Syntax: S <condname> <x1> <y1> <x2> <y2>
The 'S' element at the beginning of a line defines a straight segment. If the segment belongs to a conductor surface, the <condname>
parameter is used to associate the segment to a parent conductor named <condname>
. If the segment belongs to a dielectric surface, the <condname>
parameter is ignored.
The (x1, y1), (x2, y2) 2D points specify the coordinates of the two end points of the segment.
Example 1:
S circle 0.1 0 0.098768907 0.015642989
This input file fragments specifies a segment of the surface of a conductor, whose name is circle
.
Example 2:
S inner_shell 0.098768907 0.015642989 0.095105938 0.030900818
S outer_shell 0.095105938 0.030900818 0.089101283 0.045397812
S inner_shell 0.089101283 0.045397812 0.080902789 0.058777026
This input file fragments specifies two segments of the surface of a conductor, whose name is inner_shell
, and one segment of the surface of a second conductor, whose name is outer_shell
.