25 #ifndef COM_DAFER45_TBTK_PROPERTY_EXTRACTOR_RPA_SUSCEPTIBILITY
26 #define COM_DAFER45_TBTK_PROPERTY_EXTRACTOR_RPA_SUSCEPTIBILITY
28 #include "TBTK/Solver/RPASusceptibility.h"
29 #include "TBTK/Property/Susceptibility.h"
35 namespace PropertyExtractor{
39 class RPASusceptibility :
public PropertyExtractor{
44 RPASusceptibility(Solver::RPASusceptibility &solver);
47 virtual void setEnergyWindow(
54 virtual void setEnergyWindow(
55 int lowerFermionicMatsubaraEnergyIndex,
56 int upperFermionicMatsubaraEnergyIndex,
57 int lowerBosonicMatsubaraEnergyIndex,
58 int upperBosonicEnergyIndex
62 virtual Property::Susceptibility calculateRPASusceptibility(
63 std::vector<Index> patterns
77 static void calculateRPASusceptibilityCallback(
78 PropertyExtractor *cb_this,
79 Property::Property &property,
82 Information &information
104 Solver::RPASusceptibility *solver;
109 std::vector<std::complex<double>>
110 > rpaSusceptibilityTree;
113 virtual const Solver::Solver& getSolver()
const;
128 inline const Solver::Solver& RPASusceptibility::getSolver()
const{