TBTK Need a break? Support the development by playing Polarity Puzzles
Examples

# Examples

## Topological superconductivity

Plotter.h
Plots data.
TBTK::Array< double >
TBTK::Solver::ChebyshevExpander::setCalculateCoefficientsOnGPU
void setCalculateCoefficientsOnGPU(bool calculateCoefficientsOnGPU)
Definition: ChebyshevExpander.h:565
TBTK::Model
Container of Model related information.
Definition: Model.h:57
TBTK::Property::DOS
Property container for density of states (DOS).
Definition: DOS.h:48
TBTK::Solver::ChebyshevExpander::setScaleFactor
void setScaleFactor(double scaleFactor)
Definition: ChebyshevExpander.h:492
Model.h
Container of Model related information.
TBTK::Solver::ArnoldiIterator::setMaxIterations
void setMaxIterations(int maxIterations)
Definition: ArnoldiIterator.h:299
TBTK::Solver::Diagonalizer
Solves a Model using diagonalization.
Definition: Diagonalizer.h:52
TBTK::Model::getBasisSize
int getBasisSize() const
Definition: Model.h:311
Streams.h
Streams for TBTK output.
TBTK::Solver::ArnoldiIterator::setMode
void setMode(Mode mode)
Definition: ArnoldiIterator.h:263
TBTK::PropertyExtractor::BlockDiagonalizer
Extracts physical properties from the Solver::BlockDiagonalizer.
Definition: BlockDiagonalizer.h:54
TBTK::HoppingAmplitude::AmplitudeCallback
Definition: HoppingAmplitude.h:57
TBTK::Solver::ArnoldiIterator::run
void run()
TBTK::Solver::ArnoldiIterator
Solves a Model using Arnoldi iteration.
Definition: ArnoldiIterator.h:60
TBTK::Solver::BlockDiagonalizer
Solves a block diagonal Model using diagonalization.
Definition: BlockDiagonalizer.h:68
TBTK::Range
One-dimensional range.
Definition: Range.h:52
TBTK::Property::LDOS
Property container for the local density of states (LDOS).
Definition: LDOS.h:48
TBTK::Model::setChemicalPotential
void setChemicalPotential(double chemicalPotential)
Definition: Model.h:347
TBTK::PropertyExtractor::Diagonalizer
Extracts physical properties from the Solver::Diagonalizer.
Definition: Diagonalizer.h:55
TBTK::Property::AbstractProperty::getSize
unsigned int getSize() const
Definition: AbstractProperty.h:560
TBTK::Solver::Diagonalizer::run
void run()
Diagonalizer.h
Solves a Model using diagonalization.
TBTK::Solver::ChebyshevExpander::setUseLookupTable
void setUseLookupTable(bool useLookupTable)
Definition: ChebyshevExpander.h:585
TBTK::Initialize
void Initialize()
TBTK::Solver::Solver::setModel
virtual void setModel(Model &model)
Definition: Solver.h:69
ChebyshevExpander.h
Solves a Model using the Chebyshev method.
TBTK::Solver::ArnoldiIterator::setCentralValue
void setCentralValue(double centralValue)
Definition: ArnoldiIterator.h:303
TBTK::Property::EnergyResolvedProperty::getResolution
unsigned int getResolution() const
Definition: EnergyResolvedProperty.h:881
LDOS.h
Property container for local density of states (LDOS).
Range.h
Helper class for flattening nested looping.
TBTK::Solver::ArnoldiIterator::setCalculateEigenVectors
void setCalculateEigenVectors(bool calculateEigenVectors)
Definition: ArnoldiIterator.h:279
TBTK::Solver::ArnoldiIterator::setNumLanczosVectors
void setNumLanczosVectors(int numLanczosVectors)
Definition: ArnoldiIterator.h:287
DOS.h
Property container for density of states (DOS).
TBTK::Math::sqrt
Array< DataType > sqrt(const Array< DataType > &array)
Definition: ArrayAlgorithms.h:831
TBTK::Property::Density
Property container for density.
Definition: Density.h:43
TBTK::Math::tanh
Array< DataType > tanh(const Array< DataType > &array)
Definition: ArrayAlgorithms.h:676
TBTK::PropertyExtractor::ChebyshevExpander
Extracts physical properties from Solver::ChebyshevExpander.
Definition: ChebyshevExpander.h:51
TBTK::Model::setTemperature
void setTemperature(double temperature)
Definition: Model.h:339
TBTK::Math::cos
Array< DataType > cos(const Array< DataType > &array)
Definition: ArrayAlgorithms.h:606
Magnetization.h
Property container for magnetization.
TBTK::Solver::ChebyshevExpander
Solves a Model using the Chebyshev method.
Definition: ChebyshevExpander.h:69
TBTK::HoppingAmplitude
Hopping amplitude from state 'from' to state 'to'.
Definition: HoppingAmplitude.h:53
TBTK::Solver::ArnoldiIterator::setNumEigenValues
void setNumEigenValues(int numEigenValues)
Definition: ArnoldiIterator.h:271
TBTK::PropertyExtractor::ArnoldiIterator
Extracts physical properties from the Solver::ArnoldiIterator.
Definition: ArnoldiIterator.h:53
TBTK::Solver::ChebyshevExpander::setNumCoefficients
void setNumCoefficients(int numCoefficients)
Definition: ChebyshevExpander.h:505
TBTK::Subindex
An entry in an Index.
Definition: Subindex.h:91
TBTK::Math::sin
Array< DataType > sin(const Array< DataType > &array)
Definition: ArrayAlgorithms.h:596
ChebyshevExpander.h
Extracts physical properties from the ChebyshevExpander.
TBTK::Solver::BlockDiagonalizer::run
void run()
BlockDiagonalizer.h
Extracts physical properties from the Solver::BlockDiagonalizer.
TBTK::Math::exp
Array< DataType > exp(const Array< DataType > &array)
Definition: ArrayAlgorithms.h:757
TBTK::Index
Physical index.
Definition: Index.h:44
TBTK.h
TBTK initialization.
Smooth.h
Collection of functions for smoothing data.
TBTK::Property::EigenValues
Property container for eigen values.
Definition: EigenValues.h:46
TBTK::Model::construct
void construct()
TBTK::Solver::ChebyshevExpander::setGenerateGreensFunctionsOnGPU
void setGenerateGreensFunctionsOnGPU(bool generateGreensFunctionsOnGPU)
Definition: ChebyshevExpander.h:575
TBTK::Property::WaveFunctions
Property container for wave function.
Definition: WaveFunctions.h:45
TBTK::Property::Magnetization
Property container for magnetization.
Definition: Magnetization.h:44