&define_antenna start = 0.01, end = 0.02, position = 0.03, direction = "z", current = 1, frequency = 2856e6, waveform = "spline.wf" &endThis defines a current source in the longitudinal direction extending from z of 1cm to 2cm at a radius of 3cm. The amplitude of the current is 1A with a frequency of 2856MHz, modulated by the envelope in SDDS file spline.wf.
&define_antenna double start = 0; double end = 0; double position = 0; STRING direction = "z"; double current = 0; double frequency = 0; double phase = 0; STRING waveform = NULL; double time_offset = 0; &end