TBTK
TBTK::UnitCell Class Reference
Inheritance diagram for TBTK::UnitCell:
TBTK::StateSet

Public Member Functions

 UnitCell (std::initializer_list< std::initializer_list< double >> latticeVectors, bool isOwner=true)
 
 UnitCell (const std::vector< std::vector< double >> &latticeVectors, bool isOwner=true)
 
 ~UnitCell ()
 
int getNumLatticeVectors () const
 
const std::vector< double > & getLatticeVector (int n) const
 
const std::vector< std::vector< double > > & getLatticeVectors () const
 
- Public Member Functions inherited from TBTK::StateSet
 StateSet (bool isOwner=true)
 
 ~StateSet ()
 
void addState (AbstractState *state)
 
const std::vector< AbstractState * > & getStates () const
 
unsigned int getNumStates () const
 

Constructor & Destructor Documentation

TBTK::UnitCell::UnitCell ( std::initializer_list< std::initializer_list< double >>  latticeVectors,
bool  isOwner = true 
)

Constructor.

TBTK::UnitCell::UnitCell ( const std::vector< std::vector< double >> &  latticeVectors,
bool  isOwner = true 
)

Constructor.

TBTK::UnitCell::~UnitCell ( )

Destructor.

Member Function Documentation

const std::vector< double > & TBTK::UnitCell::getLatticeVector ( int  n) const
inline

Get lattice vector.

const std::vector< std::vector< double > > & TBTK::UnitCell::getLatticeVectors ( ) const
inline

Get lattice vectors.

int TBTK::UnitCell::getNumLatticeVectors ( ) const
inline

Get number of lattice vectors.


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