wrong vis. routine: single dipole no rotational symmetry
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
antennavis (Ubuntu) |
New
|
Undecided
|
Bohumir Jelinek |
Bug Description
Dear Antennavis maintainers,
I am Bohumir, co-author of http://
Thanks for maintaining antennavis package. I am fond of antennavis.
I believe I found a small bug in the antennavis visualization routines.
It appears, for example, when you give Antennavis a single dipole as input, as
attached. Result should be a rotationally symmetric around the axis of
the dipole, but it is not.
Following three lines, in PlotPoint() function, VisField.c file are wrong:
glRotatef(
glRotatef(
glTranslatef
They should be replaced by:
glRotatef(
glRotatef(
glTranslatef
The above change will fix the problem.
I would be very glad if you can implement the above change.
I can supply it in a form of patch if needed.
Best,
-Bohumir
http://
Changed in antennavis (Ubuntu): | |
assignee: | nobody → Bohumir Jelinek (bohumir) |
Dear Antennavis maintainers (or upstream developers),
I tested my fix with many input files. It corrects the visualization issue.
Try e.g. the attached input file. As you Load "D12K6_190.nec" and click on "Compute RF Field", those side lobes of radiation pattern should point dominantly in "up" and "down" directions, not in left and right. Left and right is due to Antennavis bug.
To verify that those side lobes should point dominantly "up" and "down", try another antenna modeling code, "xnec2c":
xnec2c -i D12K6_190.nec
click "View"->"Radiation Pattern"
and in the new window that shows up:
click "Gain Pattern" and "View -> Gain Scaling -> Linear Voltage"
xnec2c shows side lobes pointing "up" and "down" - the same way as Antennavis with my fix.
Best,
-Bohumir