|
TBTK
|
#include <HoppingAmplitude.h>
Public Member Functions | |
| HoppingAmplitude (Index fromIndex, Index toIndex, std::complex< double > amplitude) | |
| HoppingAmplitude (Index fromIndex, Index toIndex, std::complex< double >(*amplitudeCallback)(Index, Index)) | |
| HoppingAmplitude (std::complex< double > amplitude, Index toIndex, Index fromIndex) | |
| HoppingAmplitude (std::complex< double >(*amplitudeCallback)(Index, Index), Index toIndex, Index fromIndex) | |
| HoppingAmplitude (std::complex< double > amplitude, Index toIndex, Index fromIndex, Index toUnitCell) | |
| HoppingAmplitude (std::complex< double >(*amplitudeCallback)(Index, Index), Index toIndex, Index fromIndex, Index toUnitCell) | |
| HoppingAmplitude (const HoppingAmplitude &ha) | |
| HoppingAmplitude | getHermitianConjugate () const |
| void | print () |
| std::complex< double > | getAmplitude () const |
Public Attributes | |
| Index | fromIndex |
| Index | toIndex |
A hopping amplitude is a coefficeint
in a bilinear Hamiltonian
, where
and
are reffered to using 'to' and 'from' respectively. The constructors can be called with the parameters either in the order (from, to, value) or the order (value, to, from). The former follows the order in which the process can be thought of as happening, while the later corresponds to the order in which values and operators stands in the Hamiltonian.
| TBTK::HoppingAmplitude::HoppingAmplitude | ( | Index | fromIndex, |
| Index | toIndex, | ||
| std::complex< double > | amplitude | ||
| ) |
Constructor.
| TBTK::HoppingAmplitude::HoppingAmplitude | ( | Index | fromIndex, |
| Index | toIndex, | ||
| std::complex< double >(*)(Index, Index) | amplitudeCallback | ||
| ) |
Constructor. Takes a callback function rather than a paramater value. The callback function has to be defined such that it returns a value for the given indices when called at run time.
| TBTK::HoppingAmplitude::HoppingAmplitude | ( | std::complex< double > | amplitude, |
| Index | toIndex, | ||
| Index | fromIndex | ||
| ) |
Constructor.
| TBTK::HoppingAmplitude::HoppingAmplitude | ( | std::complex< double >(*)(Index, Index) | amplitudeCallback, |
| Index | toIndex, | ||
| Index | fromIndex | ||
| ) |
Constructor. Takes a callback function rather than a paramater value. The callback function has to be defined such that it returns a value for the given indices when called at run time.
| TBTK::HoppingAmplitude::HoppingAmplitude | ( | std::complex< double > | amplitude, |
| Index | toIndex, | ||
| Index | fromIndex, | ||
| Index | toUnitCell | ||
| ) |
Constructor. Takes an additional parameter specifying which unit cell the toIndex belongs to.
| TBTK::HoppingAmplitude::HoppingAmplitude | ( | std::complex< double >(*)(Index, Index) | amplitudeCallback, |
| Index | toIndex, | ||
| Index | fromIndex, | ||
| Index | toUnitCell | ||
| ) |
Constructor. Takes a callback function rather than a paramater value. The callback function has to be defined such that it returns a value for the given indices when called at run time. Also takes an additional Index specifying which unit cell the toIndex belongs to.
| TBTK::HoppingAmplitude::HoppingAmplitude | ( | const HoppingAmplitude & | ha | ) |
Copy constructor.
|
inline |
Get the amplitude value
.
| HoppingAmplitude TBTK::HoppingAmplitude::getHermitianConjugate | ( | ) | const |
Get the Hermitian cojugate of the HoppingAmplitude.
| void TBTK::HoppingAmplitude::print | ( | ) |
Print HoppingAmplitude. Mainly for debugging.
1.8.11