TBTK
TBTK::PropertyExtractor::ArnoldiIterator Class Reference

#include <ArnoldiIterator.h>

Inheritance diagram for TBTK::PropertyExtractor::ArnoldiIterator:
TBTK::PropertyExtractor::PropertyExtractor

Public Member Functions

 ArnoldiIterator (Solver::ArnoldiIterator &aSolver)
 
virtual ~ArnoldiIterator ()
 
Property::EigenValues getEigenValues ()
 
double getEigenValue (int state)
 
const std::complex< double > getAmplitude (int state, const Index &index)
 
Property::WaveFunctions calculateWaveFunctions (std::initializer_list< Index > patterns, std::initializer_list< int > states)
 
virtual Property::DOS calculateDOS ()
 
virtual Property::LDOS calculateLDOS (Index pattern, Index ranges)
 
virtual Property::LDOS calculateLDOS (std::initializer_list< Index > patterns)
 
virtual Property::SpinPolarizedLDOS calculateSpinPolarizedLDOS (Index pattern, Index ranges)
 
virtual Property::SpinPolarizedLDOS calculateSpinPolarizedLDOS (std::initializer_list< Index > patterns)
 
- Public Member Functions inherited from TBTK::PropertyExtractor::PropertyExtractor
 PropertyExtractor ()
 
virtual ~PropertyExtractor ()
 
virtual void setEnergyWindow (double lowerBound, double upperBound, int energyResolution)
 
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 std::complex< double > calculateExpectationValue (Index to, Index from)
 
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

The PropertyExtractor::ArnoldiIterator extracts common physical properties such as DOS, LDOS, etc. from a Solver::ArnoldiIterator. These can then be written to file using the FileWriter.

Constructor & Destructor Documentation

TBTK::PropertyExtractor::ArnoldiIterator::ArnoldiIterator ( Solver::ArnoldiIterator aSolver)

Constructor.

virtual TBTK::PropertyExtractor::ArnoldiIterator::~ArnoldiIterator ( )
virtual

Destructor.

Member Function Documentation

virtual Property::DOS TBTK::PropertyExtractor::ArnoldiIterator::calculateDOS ( )
virtual

Calculate Green's function. Overrides PropertyExtractor::calculateDOS().

Reimplemented from TBTK::PropertyExtractor::PropertyExtractor.

virtual Property::LDOS TBTK::PropertyExtractor::ArnoldiIterator::calculateLDOS ( Index  pattern,
Index  ranges 
)
virtual
virtual Property::LDOS TBTK::PropertyExtractor::ArnoldiIterator::calculateLDOS ( std::initializer_list< Index patterns)
virtual
virtual Property::SpinPolarizedLDOS TBTK::PropertyExtractor::ArnoldiIterator::calculateSpinPolarizedLDOS ( Index  pattern,
Index  ranges 
)
virtual
virtual Property::SpinPolarizedLDOS TBTK::PropertyExtractor::ArnoldiIterator::calculateSpinPolarizedLDOS ( std::initializer_list< Index patterns)
virtual
Property::WaveFunctions TBTK::PropertyExtractor::ArnoldiIterator::calculateWaveFunctions ( std::initializer_list< Index patterns,
std::initializer_list< int >  states 
)

Calculate wave function.

const std::complex< double > TBTK::PropertyExtractor::ArnoldiIterator::getAmplitude ( int  state,
const Index index 
)
inline

Get amplitude for given eigenvector \(n\) and physical index \(x\): \(\Psi_{n}(x)\).

Parameters
stateEigenstate number \(n\)
indexPhysical index \(x\).
double TBTK::PropertyExtractor::ArnoldiIterator::getEigenValue ( int  state)
inline

Get eigenvalue.

Property::EigenValues TBTK::PropertyExtractor::ArnoldiIterator::getEigenValues ( )

Get eigenvalues.


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