//****************************************************************************** //** SCATMECH: Polarized Light Scattering C++ Class Library //** //** File: miescat.h //** //** Thomas A. Germer //** Optical Technology Division, National Institute of Standards and Technology //** 100 Bureau Dr. Stop 8443; Gaithersburg, MD 20899-8443 //** Phone: (301) 975-2876; FAX: (301) 975-6991 //** Email: thomas.germer@nist.gov //** //** Version: 6.00 (February 2008) //** //****************************************************************************** #ifndef SCATMECH_MIESCAT_H #define SCATMECH_MIESCAT_H #include "sphrscat.h" #include "dielfunc.h" #include namespace SCATMECH { // // MieScatterer is a SphericalScatterer which returns the Mie // solution for the free space scattering of a homogeneous sphere. // class MieScatterer: public SphericalScatterer { public: MieScatterer(); // The scattering matrix elements... COMPLEX s1(double angle); COMPLEX s2(double angle); double Csca(); double Cext(); double Cback(); public: DECLARE_MODEL(); private: std::vector A,B; std::vector E,F; int NSTOP; int NMX; virtual void setup(); }; } // namespace SCATMECH #endif