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
128 stars 51 forks source link

Cannot find python scuff module on Simpetus #172

Open ghzhang0 opened 6 years ago

ghzhang0 commented 6 years ago

I'm currently using the Simpetus version 1.3 platform.

The scuff-em example files are under /usr/local/share/scuff-em and files eg. scuff-scatter, scuff-analyze, etc. are under /usr/local/bin, which is just as the installation instructions described.

However, under /usr/local/lib/python3.5/site-packages, there is only the meep (and mpb) module.

What path should I be including to import scuff into python?

HomerReid commented 6 years ago

Compilation of the python module was turned off by default in the Simpetus image, but it should be straightforward to build from source following the instructions in the SCUFF-EM documentation.

You may wish to wait for a day or two, as I am just about to push a major overhaul and upgrade of SCUFF-EM in which the python module plays a more central role.