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
 
Property::TransmissionRate calculateTransmissionRate (const Property::SelfEnergy &selfEnergy0, const Property::SelfEnergy &selfEnergy1) 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

◆ Greens()

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

Constructs a Solver::Greens.

◆ ~Greens()

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

Destructor.

Member Function Documentation

◆ calculateInteractingGreensFunction()

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}\)

◆ calculateTransmissionRate()

Property::TransmissionRate TBTK::Solver::Greens::calculateTransmissionRate ( const Property::SelfEnergy selfEnergy0,
const Property::SelfEnergy selfEnergy1 
) const

Calculate the transmission.

Parameters
selfEnergy0The selfEnergy for the first lead.
selfEnergy1The selfEnergy for the second lead.
Returns
The transmission from lead one to lead two.

◆ getGreensFunction()

const Property::GreensFunction & TBTK::Solver::Greens::getGreensFunction ( ) const
inline

Get the Green's function.

Returns
The Green's function that the solver is using.

◆ setGreensFunction()

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: