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

Fix Unassigned Variable in class PolModel for scuff-caspol #221

Open congzlwag opened 4 years ago

congzlwag commented 4 years ago

This fix is for scuff-caspol. An assignment for variable MD is added in PolModel::InitPolModel_BI, so that in PolModel::GetPolarizability it won't appear in an if statement without an initial assignment.