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

warning: could not open file Sphere.cache #242

Open agrinin opened 1 year ago

agrinin commented 1 year ago

I follow the example of the Mie-scattering and get the following warning. What does it mean and how to avoid it? ubuntu@ubuntu2004:~/scuff-em/myscuff-em$ scuff-scatter < Args warning: could not open file Sphere.cache (skipping cache preload) Thank you for your support! Alexey

texnokrates commented 1 year ago

That should be benign, you don't need to worry about the warning. SCUFF-EM saves certain values to this cache file, so it doesn't have to recalculate them on the next run.

Just FYI, this repo hasn't been updated for years, and even the pull requests for known bugs have not been merged. I recommend using my fork https://github.com/texnokrates/scuff-em, which has some of the known bugs fixed.