24 #ifndef COM_DAFER45_TBTK_SOLVER_GREENS
25 #define COM_DAFER45_TBTK_SOLVER_GREENS
30 #include "TBTK/Property/SelfEnergy.h"
31 #include "TBTK/Property/TransmissionRate.h"
40 class Greens :
public Solver,
public Communicator{
52 void setGreensFunction(
const Property::GreensFunction &greensFunction);
57 const Property::GreensFunction& getGreensFunction()
const;
67 Property::GreensFunction calculateInteractingGreensFunction(
68 const Property::SelfEnergy &selfEnergy
77 Property::TransmissionRate calculateTransmissionRate(
78 const Property::SelfEnergy &selfEnergy0,
79 const Property::SelfEnergy &selfEnergy1
83 const Property::GreensFunction *greensFunction;
86 inline void Greens::setGreensFunction(
87 const Property::GreensFunction &greensFunction
89 this->greensFunction = &greensFunction;
92 inline const Property::GreensFunction& Greens::getGreensFunction()
const{
93 return *greensFunction;