24 #ifndef COM_DAFER45_TBTK_PROPERTY_EXTRACTOR_GREENS
25 #define COM_DAFER45_TBTK_PROPERTY_EXTRACTOR_GREENS
27 #include "TBTK/Solver/Greens.h"
39 namespace PropertyExtractor{
42 class Greens :
public PropertyExtractor{
45 Greens(Solver::Greens &cSolver);
51 virtual void setEnergyWindow(
58 virtual Property::Density calculateDensity(
64 virtual Property::Density calculateDensity(
65 std::vector<Index> patterns
69 virtual Property::LDOS calculateLDOS(
70 std::vector<Index> patterns
74 Solver::Greens *solver;
77 virtual const Solver::Solver& getSolver()
const;
80 static void calculateDensityCallback(
81 PropertyExtractor *cb_this,
82 Property::Property &property,
85 Information &information
90 static void calculateLDOSCallback(
91 PropertyExtractor *cb_this,
92 Property::Property &property,
95 Information &information
99 inline const Solver::Solver& Greens::getSolver()
const{