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

tabulated data of materials #212

Open xinchenee opened 5 years ago

xinchenee commented 5 years ago

Hi Homer,

I wonder if scuff-ldos supports tabulated data for the permittivity. When we used silver.dat, we got the error message, "could not find material silver.dat in any matprop file (aborting).

Thanks,

Xin

gevero commented 3 years ago

Hi

You simply need to add the silver.dat file to your .scuffgeo file. Below an example of a nanoslit array, where the file containing the optical constant is au_ir_olmon_sc.edb.

Best

Giovanni

LATTICE
    VECTOR 6.0 0
    VECTOR 0 6.0
ENDLATTICE

OBJECT UnitCell
    MESHFILE chiral_nanoslits.msh
    MATERIAL FILE_au_ir_olmon_sc.edb
ENDOBJECT