TBTK
TBTK::MomentumSpaceContext Class Reference

Public Member Functions

 MomentumSpaceContext ()
 
 ~MomentumSpaceContext ()
 
void setModel (Model &model)
 
const ModelgetModel () const
 
void setBrillouinZone (const BrillouinZone &brillouinZone)
 
const BrillouinZonegetBrillouinZone () const
 
void setNumMeshPoints (const std::vector< unsigned int > &numMeshPoints)
 
const std::vector< unsigned int > & getNumMeshPoints () const
 
const std::vector< std::vector< double > > & getMesh () const
 
void setNumOrbitals (unsigned int numOrbitals)
 
unsigned int getNumOrbitals () const
 
void init ()
 
double getEnergy (unsigned int state) const
 
double getEnergy (unsigned int block, unsigned int state) const
 
std::complex< double > getAmplitude (unsigned int block, unsigned int state, unsigned int amplitude) const
 
Index getKIndex (const std::vector< double > &k) const
 
const PropertyExtractor::BlockDiagonalizergetPropertyExtractorBlockDiagonalizer () const
 

Constructor & Destructor Documentation

TBTK::MomentumSpaceContext::MomentumSpaceContext ( )

Constructor.

TBTK::MomentumSpaceContext::~MomentumSpaceContext ( )

Destructor.

Member Function Documentation

std::complex< double > TBTK::MomentumSpaceContext::getAmplitude ( unsigned int  block,
unsigned int  state,
unsigned int  amplitude 
) const
inline

Get amplitude.

const BrillouinZone & TBTK::MomentumSpaceContext::getBrillouinZone ( ) const
inline

Get Brillouin zone.

double TBTK::MomentumSpaceContext::getEnergy ( unsigned int  state) const
inline

Get energy using global state index.

double TBTK::MomentumSpaceContext::getEnergy ( unsigned int  block,
unsigned int  state 
) const
inline

Get energy using block local state index.

Index TBTK::MomentumSpaceContext::getKIndex ( const std::vector< double > &  k) const
inline

Get Index corresponding to given k-vector.

const std::vector< std::vector< double > > & TBTK::MomentumSpaceContext::getMesh ( ) const
inline

Get mesh.

const Model & TBTK::MomentumSpaceContext::getModel ( ) const
inline

Get model.

const std::vector< unsigned int > & TBTK::MomentumSpaceContext::getNumMeshPoints ( ) const
inline

Get number of mesh points.

unsigned int TBTK::MomentumSpaceContext::getNumOrbitals ( ) const
inline

Get number of orbitals.

const PropertyExtractor::BlockDiagonalizer & TBTK::MomentumSpaceContext::getPropertyExtractorBlockDiagonalizer ( ) const
inline

Get property extractor.

void TBTK::MomentumSpaceContext::init ( )

Initialize the SusceptibilityCalculator.

void TBTK::MomentumSpaceContext::setBrillouinZone ( const BrillouinZone brillouinZone)
inline

Set Brillouin zone.

void TBTK::MomentumSpaceContext::setModel ( Model model)
inline

Set model.

void TBTK::MomentumSpaceContext::setNumMeshPoints ( const std::vector< unsigned int > &  numMeshPoints)
inline

Set number of mesh points.

void TBTK::MomentumSpaceContext::setNumOrbitals ( unsigned int  numOrbitals)
inline

Set number of orbitals.


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