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

Scuff-EM on Windows #133

Closed rfmichael closed 7 years ago

rfmichael commented 7 years ago

Has anyone a Windows binary of Scuff-EM? I'm especially interested in Scuff-RF.

I also tried to compile it by myself, but it seems to be impossible. First of all, libRWG seems to be missing and nowhere available in the internet. Furthermore, there are several issues in the code that does not work. For example: RWGObject seems to be incompletely moved to RWGSurface.

Can anyone help?

HomerReid commented 7 years ago

What code base are you using? libRWG and RWGObject are archaic symbols from a much earlier incarnation of the code--probably more than 6 or 7 years old.

I'm not aware of any successful attempts to build SCUFF-EM on a Windows machine, but surely it wouldn't be hard for somebody knowledgeable in these things to get the build working with cygwin or mingwin or other suchlike tools.

Feel free to ask more questions, or close the issue if satisfied.

rfmichael commented 7 years ago

Thanks for the answer! Uops, you are right. I use qmake and just took all files, but obviously there are files inside the branch that are not used anymore. Sorry to bother you. I should have had a look into Makefile.am.

For example in scuff-rf, the files GetMinDistanceToPanel.cc and PointInsideObject.cc seems to be obsolete. The same seems to hold for SphericalMoments.cc in libscuff. I think they should be removed. Maybe there are even more obsolete files. I have not looked into it deeper.

I will try again and let you know. Thanks for Scuff-EM!

rfmichael commented 7 years ago

Scuff-EM compiles fines with MinGW (Windows64 version 4.8.2). I had to adjust a few small things (perhaps because I built the config.h by myself), but now Scuff-RF works as expected.

HomerReid commented 7 years ago

Good to know! Feel free to ask more questions, or close the issue if satisfied.