25 #ifndef COM_DAFER45_TBTK_PROPERTY_EXTRACTOR_SELF_ENERGY
26 #define COM_DAFER45_TBTK_PROPERTY_EXTRACTOR_SELF_ENERGY
28 #include "TBTK/Solver/SelfEnergy.h"
29 #include "TBTK/Property/SelfEnergy.h"
36 namespace PropertyExtractor{
40 class SelfEnergy :
public PropertyExtractor{
45 SelfEnergy(Solver::SelfEnergy &solver);
48 virtual Property::SelfEnergy calculateSelfEnergy(
49 std::vector<Index> patterns
53 static void calculateSelfEnergyCallback(
54 PropertyExtractor *cb_this,
55 Property::Property &property,
58 Information &information
62 Solver::SelfEnergy *solver;
65 std::vector<std::complex<double>> energies;
68 virtual const Solver::Solver& getSolver()
const;
71 inline const Solver::Solver& SelfEnergy::getSolver()
const{