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-caspol broken? #146

Closed acmcclung closed 6 years ago

acmcclung commented 7 years ago

Wasn't able to get the scuff-caspol tutorial example to work:

scuff-caspol --PECPlate --atom Cesium --EPFile EPFile1

I've printed the EP and log files from running on my own machine, but the Simpetus AMI seems to produce the same error.

EPFile1: 0.000000 0.000000 2.000

scuff-caspol.log:

06/11/17::11:17:21: scuff-caspol running on Dionysus:30750 (06/11/17::11:17:21) 
/usr/local/bin/scuff-em/lib/libscuff.so.0(+0x7d6cd)[0x7f1343bf96cd]
/lib/x86_64-linux-gnu/libc.so.6(+0x360b0)[0x7f13432de0b0]
scuff-caspol[0x40214c]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed)[0x7f13432c97ed]
scuff-caspol[0x40273d]

**<><> received signal 11 
HomerReid commented 7 years ago

Fixed in c291e68. Thanks for the bug report.

Going forward I will probably merge scuff-caspol with scuff-ldos, since it doesn't really make sense to maintain two separate codes that do largely identical things. I would be curious to know what your use case is.

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

acmcclung commented 6 years ago

Seems to be solved, thank you.

Our potential use case is pretty simple; we just want to know the CP potential for an atom next to a nanophotonic structure. I know there are other methods of calculating this sort of thing, but the simplicity of the setup in scuff-caspol is attractive. I will play with scuff-ldos; I assume eq. (A.1) can be adapted directly?