TBTK
TBTK::ZFactorCalculator Class Reference

Public Member Functions

 ZFactorCalculator (const MomentumSpaceContext &momentumSpaceContext, unsigned int numWorkers=1)
 
 ~ZFactorCalculator ()
 
void setNumSummationEnergies (unsigned int numSummationEnergies)
 
void init ()
 
std::vector< std::complex< double > > calculateZFactor (const std::vector< double > &k)
 
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)
 

Constructor & Destructor Documentation

TBTK::ZFactorCalculator::ZFactorCalculator ( const MomentumSpaceContext momentumSpaceContext,
unsigned int  numWorkers = 1 
)

Constructor.

TBTK::ZFactorCalculator::~ZFactorCalculator ( )

Destructor.

Member Function Documentation

std::vector<std::complex<double> > TBTK::ZFactorCalculator::calculateZFactor ( const std::vector< double > &  k)

Calculate Z-factor.

void TBTK::ZFactorCalculator::init ( )

Initialize the ZFactorCalculator.

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

Load susceptibilities.

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

Precompute susceptibilities. Save susceptibilities.

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

Set J.

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

Set Jp.

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

Set number of energies.

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

Calculate Z-factor. Set U.

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

Set Up.


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