HomerReid / scuff-em

A comprehensive and full-featured computational physics suite for boundary-element analysis of electromagnetic scattering, fluctuation-induced phenomena (Casimir forces and radiative heat transfer), nanophotonics, RF device engineering, electrostatics, and more. Includes a core library with C++ and python APIs as well as many command-line applications.
http://www.homerreid.com/scuff-em
GNU General Public License v2.0
125 stars 50 forks source link

YagiUdaAntenna example fails with "error: could not open file View.Light = 0; View.Visible = 0;" #231

Open boomboompsh opened 3 years ago

boomboompsh commented 3 years ago

It appears the reason is because in this line: https://github.com/HomerReid/scuff-em/blob/9c6d0cb7695463af803dee8d04cdae939740cdcc/applications/scuff-rf/OutputModules.cc#L280 PPoptions is passed in the spot where Transfile should go. I'll try adding an empty string for Transfile and see if that fixes it, but I don't understand at all what this function actually does, so no idea if it will work. Edit: This occurs when running the FieldPatterns, not the SZparms. It looks like the MakeMeshPlot function prototype was changed a while back and the scuff-rf code wasn't changed with it.

boomboompsh commented 3 years ago

I modified the file to correspond to one of the proper function prototypes, but now it has the error "**warning: Mesh data function returned wrong-size DataMatrix" and then has a segmentation fault.