TBTK
TBTK::Solver::Greens Class Reference

Calculates properties from a Green's function. More...

#include <Greens.h>

Inheritance diagram for TBTK::Solver::Greens:
TBTK::Solver::Solver TBTK::Communicator

Public Member Functions

 Greens ()
 
virtual ~Greens ()
 
void setGreensFunction (const Property::GreensFunction &greensFunction)
 
const Property::GreensFunctiongetGreensFunction () const
 
Property::GreensFunction calculateInteractingGreensFunction (const Property::SelfEnergy &selfEnergy) const
 
- Public Member Functions inherited from TBTK::Solver::Solver
 Solver ()
 
virtual ~Solver ()
 
virtual void setModel (Model &model)
 
ModelgetModel ()
 
const ModelgetModel () const
 
- Public Member Functions inherited from TBTK::Communicator
 Communicator (bool verbose)
 
void setVerbose (bool verbose)
 
bool getVerbose () const
 

Additional Inherited Members

- Static Public Member Functions inherited from TBTK::Communicator
static void setGlobalVerbose (bool globalVerbose)
 
static bool getGlobalVerbose ()
 

Detailed Description

Calculates properties from a Green's function.

Constructor & Destructor Documentation

TBTK::Solver::Greens::Greens ( )

Constructs a Solver::Greens.

virtual TBTK::Solver::Greens::~Greens ( )
virtual

Destructor.

Member Function Documentation

Property::GreensFunction TBTK::Solver::Greens::calculateInteractingGreensFunction ( const Property::SelfEnergy selfEnergy) const

Calculate a new Green's function by adding a self-energy.

Parameters
greensFunction0The Green's function without the self-energy ( \(G_0\)).
selfEnergyThe self-energy \(\Sigma\) to add to the original Green's function.
Returns
\(G = (G_0^{-1} + \Sigma)^{-1}\)
const Property::GreensFunction & TBTK::Solver::Greens::getGreensFunction ( ) const
inline

Get the Green's function.

Returns
The Green's function that the solver is using.
void TBTK::Solver::Greens::setGreensFunction ( const Property::GreensFunction greensFunction)
inline

Set Green's function to use for calculations.

Parameters
greensFunctionThe Green's function that will be used in calculations.

The documentation for this class was generated from the following file: