TBTK
TBTK::SelfEnergyCalculator Class Reference

Public Types

enum  EnergyType { Real, Imaginary, Complex }
 

Public Member Functions

 SelfEnergyCalculator (const MomentumSpaceContext &momentumSpaceContext, unsigned int numWorkers)
 
 ~SelfEnergyCalculator ()
 
const MomentumSpaceContextgetMomentumSpaceContext () const
 
void init ()
 
void setNumSummationEnergies (unsigned int numSummationEnergies)
 
void setSelfEnergyEnergies (const std::vector< std::complex< double >> &selfEnergyEnergies)
 
std::vector< std::complex< double > > calculateSelfEnergy (const std::vector< double > &k, const std::vector< int > &orbitalIndices)
 
std::vector< std::complex< double > > calculateSelfEnergySelfConsistently (unsigned int numMatsubaraFrequencies)
 
void setU (std::complex< double > U)
 
void setUp (std::complex< double > Up)
 
void setJ (std::complex< double > J)
 
void setJp (std::complex< double > Jp)
 
void saveSusceptibilities (const std::string &filename) const
 
void loadSusceptibilities (const std::string &filename)
 
 SelfEnergyCalculator (const MomentumSpaceContext &momentumSpaceContext, unsigned int numWorkers)
 
 ~SelfEnergyCalculator ()
 
const MomentumSpaceContextgetMomentumSpaceContext () const
 
void init ()
 
void setNumSummationEnergies (unsigned int numSummationEnergies)
 
void setSelfEnergyEnergyType (EnergyType energyType)
 
EnergyType getSelfEnergyEnergyType () const
 
void setSelfEnergyEnergies (const std::vector< std::complex< double >> &selfEnergyEnergies)
 
std::vector< std::complex< double > > calculateSelfEnergy (const std::vector< double > &k, const std::vector< int > &orbitalIndices)
 
std::vector< std::complex< double > > calculateSelfEnergySelfConsistently (unsigned int numMatsubaraFrequencies)
 
std::vector< std::complex< double > > calculateSelfEnergyVertex (const std::vector< double > &k, const std::vector< int > &orbitalIndices, unsigned int worker)
 
void setU (std::complex< double > U)
 
void setUp (std::complex< double > Up)
 
void setJ (std::complex< double > J)
 
void setJp (std::complex< double > Jp)
 
void saveSusceptibilities (const std::string &filename) const
 
void loadSusceptibilities (const std::string &filename)
 

Member Enumeration Documentation

Enum class for indicating whether the energy is an arbitrary comlex number, or if it is restricted to the real or imaginary axis.

Constructor & Destructor Documentation

TBTK::SelfEnergyCalculator::SelfEnergyCalculator ( const MomentumSpaceContext momentumSpaceContext,
unsigned int  numWorkers 
)

Constructor.

TBTK::SelfEnergyCalculator::~SelfEnergyCalculator ( )

Destructor.

TBTK::SelfEnergyCalculator::SelfEnergyCalculator ( const MomentumSpaceContext momentumSpaceContext,
unsigned int  numWorkers 
)

Constructor.

TBTK::SelfEnergyCalculator::~SelfEnergyCalculator ( )

Destructor.

Member Function Documentation

std::vector<std::complex<double> > TBTK::SelfEnergyCalculator::calculateSelfEnergy ( const std::vector< double > &  k,
const std::vector< int > &  orbitalIndices 
)

Calculate self-energy.

std::vector<std::complex<double> > TBTK::SelfEnergyCalculator::calculateSelfEnergy ( const std::vector< double > &  k,
const std::vector< int > &  orbitalIndices 
)

Calculate self-energy.

std::vector<std::complex<double> > TBTK::SelfEnergyCalculator::calculateSelfEnergySelfConsistently ( unsigned int  numMatsubaraFrequencies)

Calculate self-energy self-consistently.

std::vector<std::complex<double> > TBTK::SelfEnergyCalculator::calculateSelfEnergySelfConsistently ( unsigned int  numMatsubaraFrequencies)

Calculate self-energy self-consistently.

std::vector<std::complex<double> > TBTK::SelfEnergyCalculator::calculateSelfEnergyVertex ( const std::vector< double > &  k,
const std::vector< int > &  orbitalIndices,
unsigned int  worker 
)

Calculate self-energy vertex.

const MomentumSpaceContext & TBTK::SelfEnergyCalculator::getMomentumSpaceContext ( ) const
inline

Get momentum cpsace context.

const MomentumSpaceContext& TBTK::SelfEnergyCalculator::getMomentumSpaceContext ( ) const

Get momentum cpsace context.

SelfEnergyCalculator::EnergyType TBTK::SelfEnergyCalculator::getSelfEnergyEnergyType ( ) const
inline

Get self-energy energy type.

void TBTK::SelfEnergyCalculator::init ( )

Initialize the SelfEnergyCalculator.

void TBTK::SelfEnergyCalculator::init ( )

Initialize the SelfEnergyCalculator.

void TBTK::SelfEnergyCalculator::loadSusceptibilities ( const std::string &  filename)
inline

Load susceptibilities.

void TBTK::SelfEnergyCalculator::loadSusceptibilities ( const std::string &  filename)

Load susceptibilities.

void TBTK::SelfEnergyCalculator::saveSusceptibilities ( const std::string &  filename) const
inline

Precompute susceptibilities. Save susceptibilities.

void TBTK::SelfEnergyCalculator::saveSusceptibilities ( const std::string &  filename) const

Precompute susceptibilities. Save susceptibilities.

void TBTK::SelfEnergyCalculator::setJ ( std::complex< double >  J)
inline

Set J.

void TBTK::SelfEnergyCalculator::setJ ( std::complex< double >  J)

Set J.

void TBTK::SelfEnergyCalculator::setJp ( std::complex< double >  Jp)
inline

Set Jp.

void TBTK::SelfEnergyCalculator::setJp ( std::complex< double >  Jp)

Set Jp.

void TBTK::SelfEnergyCalculator::setNumSummationEnergies ( unsigned int  numSummationEnergies)
inline

Enum class for indicating whether the energy is an arbitrary comlex number, or if it is restricted to the real or imaginary axis. Set number of energies.

void TBTK::SelfEnergyCalculator::setNumSummationEnergies ( unsigned int  numSummationEnergies)

Set number of energies.

void TBTK::SelfEnergyCalculator::setSelfEnergyEnergies ( const std::vector< std::complex< double >> &  selfEnergyEnergies)
inline

Set energy type. Get self-energy energy type. Set the energies for which the self-energy should be calculated.

void TBTK::SelfEnergyCalculator::setSelfEnergyEnergies ( const std::vector< std::complex< double >> &  selfEnergyEnergies)

Set the energies for which the self-energy should be calculated.

void TBTK::SelfEnergyCalculator::setSelfEnergyEnergyType ( EnergyType  energyType)
inline

Set self-energy energy type.

void TBTK::SelfEnergyCalculator::setU ( std::complex< double >  U)
inline

Set U.

void TBTK::SelfEnergyCalculator::setU ( std::complex< double >  U)

Set U.

void TBTK::SelfEnergyCalculator::setUp ( std::complex< double >  Up)
inline

Set Up.

void TBTK::SelfEnergyCalculator::setUp ( std::complex< double >  Up)

Set Up.


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