TBTK
Need a break? Support the development by playing Polarity Puzzles
TBTK::HoppingAmplitude::AmplitudeCallback Class Referenceabstract

#include <HoppingAmplitude.h>

Public Member Functions

virtual std::complex< double > getHoppingAmplitude (const Index &to, const Index &from) const =0
 

Detailed Description

Abstract base class for callbacks that allow for delayed determination of the HoppingAmplitude's value.

Member Function Documentation

◆ getHoppingAmplitude()

virtual std::complex<double> TBTK::HoppingAmplitude::AmplitudeCallback::getHoppingAmplitude ( const Index to,
const Index from 
) const
pure virtual

Function responsible for returning the value of the HoppingAmplitude for the given indices.

Parameters
toTo-index to determine the value of the HoppingAmplitude for.
fromFrom-index to determine the value of the HoppingAmplitude for.
Returns
The value of the HoppingAmplitude for the given indices.

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