|
enum | Algorithm { Lindhard = 0,
Matsubara = 1
} |
|
enum | EnergyType { Real,
Imaginary,
Complex
} |
|
| SusceptibilityCalculator (Algorithm algorithm, const RPA::MomentumSpaceContext &momentumSpaceContext, int *kPlusQLookupTable) |
|
bool | getIsMaster () const |
|
int * | getKPlusQLookupTable () |
|
const int * | getKPlusQLookupTable () const |
|
Index | getSusceptibilityResultIndex (const Index &kIndex, const std::vector< int > &orbitalIndices) const |
|
const IndexedDataTree< SerializableVector< std::complex< double > > > & | getSusceptibilityTree () const |
|
template<bool useKPlusQLookupTable> |
int | getKPlusQLinearIndex (unsigned int meshIndex, const std::vector< double > &k, int kLinearIndex) const |
|
void | cacheSusceptibility (const std::vector< std::complex< double >> &result, const std::vector< double > &k, const std::vector< int > &orbitalIndices, const Index &kIndex, const Index &resultIndex) |
|
void | clearCache () |
|
template<> |
int | getKPlusQLinearIndex (unsigned int meshIndex, const std::vector< double > &k, int kLinearIndex) const |
|
template<> |
int | getKPlusQLinearIndex (unsigned int meshIndex, const std::vector< double > &k, int kLinearIndex) const |
|
◆ MatsubaraSusceptibilityCalculator()
TBTK::MatsubaraSusceptibilityCalculator::MatsubaraSusceptibilityCalculator |
( |
const RPA::MomentumSpaceContext & |
momentumSpaceContext | ) |
|
◆ ~MatsubaraSusceptibilityCalculator()
TBTK::MatsubaraSusceptibilityCalculator::~MatsubaraSusceptibilityCalculator |
( |
| ) |
|
◆ calculateSusceptibility() [1/2]
std::complex<double> TBTK::MatsubaraSusceptibilityCalculator::calculateSusceptibility |
( |
const std::vector< double > & |
k, |
|
|
const std::vector< int > & |
orbitalIndices, |
|
|
std::complex< double > |
energy |
|
) |
| |
|
virtual |
◆ calculateSusceptibility() [2/2]
std::vector<std::complex<double> > TBTK::MatsubaraSusceptibilityCalculator::calculateSusceptibility |
( |
const DualIndex & |
kDual, |
|
|
const std::vector< int > & |
orbitalIndices |
|
) |
| |
|
virtual |
◆ createSlave()
Create slave SusceptibilityCalcuator. The slave reuses internal lookup tables used to speed up the calculations and should not be used after the generating master have been destructed.
Implements TBTK::SusceptibilityCalculator.
◆ setNumSummationEnergies()
void TBTK::MatsubaraSusceptibilityCalculator::setNumSummationEnergies |
( |
unsigned int |
numSummationEnergies | ) |
|
|
inline |
Set the number of summation energies.
The documentation for this class was generated from the following file: