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-Integrate error: Interp1D: grid must have 2 or more data points (aborting) #229

Open ayan-majumd opened 3 years ago

ayan-majumd commented 3 years ago

Hi Homer

I ran scuff-neq with an omegafile. I got the output x.SIFlux.EMTPFT. I have attached a snippet of it.

However running scuff-integrate --DataFile x.SIFlux.EMPFT --TemperatureFile tempfile yields the error given in the title of this issue.

I believe for some reason scuff-integrate isn't checking (sourceSurface, destSurface) column and thus is taking two consecutive data points having same frequency which leads to this error. However I may be wrong. Please suggest how to fix this.

P.S. there are two bodies and I mentioned 3 temperatures so TemperatureFile is correct I suppose.

Thanks,

Ayan snip1

mehergudela commented 1 year ago

Hi Ayan, did you figure out how to resolve this issue? I'm having the same error and have zero idea on what to do. Any help would be appreciated.

Best