TBTK
TBTK::ParallelepipedArrayState Class Reference
Inheritance diagram for TBTK::ParallelepipedArrayState:
TBTK::ArrayState TBTK::Field< std::complex< double >, double > TBTK::AbstractState

Public Member Functions

 ParallelepipedArrayState (std::initializer_list< std::initializer_list< double >> basisVectors, std::initializer_list< unsigned int > numMeshPoints)
 
virtual ~ParallelepipedArrayState ()
 
virtual ParallelepipedArrayStateclone () const
 
virtual std::complex< double > getOverlap (const AbstractState &bra) const
 
virtual std::complex< double > getMatrixElement (const AbstractState &bra, const AbstractOperator &o=DefaultOperator()) const
 
void setAmplitude (std::complex< double > amplitude, std::initializer_list< double > coordinate)
 
const std::complex< double > & getAmplitude (std::initializer_list< double > coordinate) const
 
const std::complex< double > & getAmplitude (const std::vector< double > &coordinate) const
 
virtual std::complex< double > operator() (std::initializer_list< double > argument) const
 
virtual const std::vector< double > & getCoordinates () const
 
virtual double getExtent () const
 
- Public Member Functions inherited from TBTK::ArrayState
 ArrayState (std::initializer_list< unsigned int > resolution)
 
virtual ~ArrayState ()
 
void setAmplitude (std::complex< double > amplitude, std::initializer_list< unsigned int > element)
 
void setAmplitude (std::complex< double > amplitude, const std::vector< unsigned int > &element)
 
void setAmplitude (std::complex< double > amplitude, const Index &element)
 
const std::complex< double > & getAmplitude (std::initializer_list< unsigned int > element) const
 
const std::complex< double > & getAmplitude (const std::vector< unsigned int > &element) const
 
const std::complex< double > & getAmplitude (const Index &element) const
 
- Public Member Functions inherited from TBTK::AbstractState
 AbstractState (StateID stateID)
 
virtual ~AbstractState ()
 
StateID getStateID () const
 
void setCoordinates (std::initializer_list< double > coordinates)
 
void setCoordinates (const std::vector< double > &coordinates)
 
void setSpecifiers (std::initializer_list< int > specifiers)
 
void setSpecifiers (const std::vector< int > &specifiers)
 
void setIndex (const Index &index)
 
void setContainer (const Index &container)
 
void setExtent (double extent)
 
const std::vector< double > & getCoordinates () const
 
const std::vector< int > & getSpecifiers () const
 
const IndexgetIndex () const
 
const IndexgetContainer () const
 
double getExtent () const
 
bool hasFiniteExtent () const
 
- Public Member Functions inherited from TBTK::Field< std::complex< double >, double >
 Field (bool isCompact=false)
 
bool getIsCompact () const
 

Additional Inherited Members

- Public Types inherited from TBTK::AbstractState
enum  StateID { Basic = 0 }
 
- Protected Member Functions inherited from TBTK::ArrayState
const std::vector< unsigned int > & getResolution () const
 

Constructor & Destructor Documentation

TBTK::ParallelepipedArrayState::ParallelepipedArrayState ( std::initializer_list< std::initializer_list< double >>  basisVectors,
std::initializer_list< unsigned int >  numMeshPoints 
)

Constructor.

virtual TBTK::ParallelepipedArrayState::~ParallelepipedArrayState ( )
virtual

Destructor.

Member Function Documentation

virtual ParallelepipedArrayState* TBTK::ParallelepipedArrayState::clone ( ) const
virtual

Implements AbstracState::clone().

Reimplemented from TBTK::ArrayState.

const std::complex<double>& TBTK::ParallelepipedArrayState::getAmplitude ( std::initializer_list< double >  coordinate) const

Get amplitude.

const std::complex<double>& TBTK::ParallelepipedArrayState::getAmplitude ( const std::vector< double > &  coordinate) const

Get amplitude.

virtual const std::vector<double>& TBTK::ParallelepipedArrayState::getCoordinates ( ) const
virtual
virtual double TBTK::ParallelepipedArrayState::getExtent ( ) const
virtual
virtual std::complex<double> TBTK::ParallelepipedArrayState::getMatrixElement ( const AbstractState bra,
const AbstractOperator o = DefaultOperator() 
) const
virtual

Implements AbstractState::getMatrixElementWith().

Reimplemented from TBTK::ArrayState.

virtual std::complex<double> TBTK::ParallelepipedArrayState::getOverlap ( const AbstractState bra) const
virtual

Implements AbstractState::getOverlapWith().

Reimplemented from TBTK::ArrayState.

virtual std::complex<double> TBTK::ParallelepipedArrayState::operator() ( std::initializer_list< double >  argument) const
virtual

Implements Field::operator().

Implements TBTK::Field< std::complex< double >, double >.

void TBTK::ParallelepipedArrayState::setAmplitude ( std::complex< double >  amplitude,
std::initializer_list< double >  coordinate 
)

Set amplitude.


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