TBTK
TBTK::PropertyExtractor::ChebyshevExpander Class Reference

#include <ChebyshevExpander.h>

Inheritance diagram for TBTK::PropertyExtractor::ChebyshevExpander:
TBTK::PropertyExtractor::PropertyExtractor

Public Member Functions

 ChebyshevExpander (Solver::ChebyshevExpander &cSolver, int numCoefficients, bool useGPUToCalculateCoefficients, bool useGPUToGenerateGreensFunctions, bool useLookupTable=true)
 
virtual ~ChebyshevExpander ()
 
virtual void setEnergyWindow (double lowerBound, double upperBound, int energyResolution)
 
Property::GreensFunction calculateGreensFunction (Index to, Index from, Property::GreensFunction::Type type=Property::GreensFunction::Type::Retarded)
 
Property::GreensFunction calculateGreensFunction (std::initializer_list< std::initializer_list< Index >> patterns, Property::GreensFunction::Type type=Property::GreensFunction::Type::Retarded)
 
Property::GreensFunction calculateGreensFunctions (std::vector< Index > &to, Index from, Property::GreensFunction::Type type=Property::GreensFunction::Type::Retarded)
 
virtual std::complex< double > calculateExpectationValue (Index to, Index from)
 
virtual Property::Density calculateDensity (Index pattern, Index ranges)
 
virtual Property::Density calculateDensity (std::initializer_list< Index > patterns)
 
virtual Property::Magnetization calculateMagnetization (Index pattern, Index ranges)
 
virtual Property::Magnetization calculateMagnetization (std::initializer_list< Index > patterns)
 
virtual Property::LDOS calculateLDOS (Index pattern, Index ranges)
 
virtual Property::LDOS calculateLDOS (std::initializer_list< Index > pattern)
 
virtual Property::SpinPolarizedLDOS calculateSpinPolarizedLDOS (Index pattern, Index ranges)
 
virtual Property::SpinPolarizedLDOS calculateSpinPolarizedLDOS (std::initializer_list< Index > pattern)
 
- Public Member Functions inherited from TBTK::PropertyExtractor::PropertyExtractor
 PropertyExtractor ()
 
virtual ~PropertyExtractor ()
 
virtual Property::DOS calculateDOS ()
 
virtual double calculateEntropy ()
 

Additional Inherited Members

- Protected Member Functions inherited from TBTK::PropertyExtractor::PropertyExtractor
void calculate (void(*callback)(PropertyExtractor *cb_this, void *memory, const Index &index, int offset), void *memory, Index pattern, const Index &ranges, int currentOffset, int offsetMultiplier)
 
template<typename DataType >
void calculate (void(*callback)(PropertyExtractor *cb_this, void *memory, const Index &index, int offset), const IndexTree &allIndices, const IndexTree &memoryLayout, Property::AbstractProperty< DataType > &abstractProperty, int *spinIndexHint=nullptr)
 
void ensureCompliantRanges (const Index &pattern, Index &ranges)
 
void getLoopRanges (const Index &pattern, const Index &ranges, int *lDimensions, int **lRanges)
 
IndexTree generateIndexTree (std::initializer_list< Index > patterns, const HoppingAmplitudeSet &hoppingAmplitudeSet, bool keepSumationWildcards, bool keepSpinWildcards)
 
- Protected Attributes inherited from TBTK::PropertyExtractor::PropertyExtractor
int energyResolution
 
double lowerBound
 
double upperBound
 
void * hint
 
- Static Protected Attributes inherited from TBTK::PropertyExtractor::PropertyExtractor
static constexpr int ENERGY_RESOLUTION = 1000
 
static constexpr double LOWER_BOUND = -1.
 
static constexpr double UPPER_BOUND = 1.
 

Detailed Description

Experimental class for extracting properties from a ChebyshevExpander.

Constructor & Destructor Documentation

TBTK::PropertyExtractor::ChebyshevExpander::ChebyshevExpander ( Solver::ChebyshevExpander cSolver,
int  numCoefficients,
bool  useGPUToCalculateCoefficients,
bool  useGPUToGenerateGreensFunctions,
bool  useLookupTable = true 
)

Constructor.

virtual TBTK::PropertyExtractor::ChebyshevExpander::~ChebyshevExpander ( )
virtual

Destructor.

Member Function Documentation

virtual Property::Density TBTK::PropertyExtractor::ChebyshevExpander::calculateDensity ( Index  pattern,
Index  ranges 
)
virtual
virtual Property::Density TBTK::PropertyExtractor::ChebyshevExpander::calculateDensity ( std::initializer_list< Index patterns)
virtual
virtual std::complex<double> TBTK::PropertyExtractor::ChebyshevExpander::calculateExpectationValue ( Index  to,
Index  from 
)
virtual
Property::GreensFunction TBTK::PropertyExtractor::ChebyshevExpander::calculateGreensFunction ( Index  to,
Index  from,
Property::GreensFunction::Type  type = Property::GreensFunction::Type::Retarded 
)

Calculate Green's function.

Property::GreensFunction TBTK::PropertyExtractor::ChebyshevExpander::calculateGreensFunction ( std::initializer_list< std::initializer_list< Index >>  patterns,
Property::GreensFunction::Type  type = Property::GreensFunction::Type::Retarded 
)

Calculate Green's function for a range of 'to'-indices.

Property::GreensFunction TBTK::PropertyExtractor::ChebyshevExpander::calculateGreensFunctions ( std::vector< Index > &  to,
Index  from,
Property::GreensFunction::Type  type = Property::GreensFunction::Type::Retarded 
)

Calculate Green's function for a range of 'to'-indices.

virtual Property::LDOS TBTK::PropertyExtractor::ChebyshevExpander::calculateLDOS ( Index  pattern,
Index  ranges 
)
virtual
virtual Property::LDOS TBTK::PropertyExtractor::ChebyshevExpander::calculateLDOS ( std::initializer_list< Index pattern)
virtual
virtual Property::Magnetization TBTK::PropertyExtractor::ChebyshevExpander::calculateMagnetization ( Index  pattern,
Index  ranges 
)
virtual
virtual Property::Magnetization TBTK::PropertyExtractor::ChebyshevExpander::calculateMagnetization ( std::initializer_list< Index patterns)
virtual
virtual Property::SpinPolarizedLDOS TBTK::PropertyExtractor::ChebyshevExpander::calculateSpinPolarizedLDOS ( Index  pattern,
Index  ranges 
)
virtual
virtual Property::SpinPolarizedLDOS TBTK::PropertyExtractor::ChebyshevExpander::calculateSpinPolarizedLDOS ( std::initializer_list< Index pattern)
virtual
virtual void TBTK::PropertyExtractor::ChebyshevExpander::setEnergyWindow ( double  lowerBound,
double  upperBound,
int  energyResolution 
)
virtual

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