|
| | Geometry (int dimensions, int numSpecifiers, Model *parentModel) |
| |
| | ~Geometry () |
| |
| void | setCoordinates (const Index &index, std::initializer_list< double > coordinates, std::initializer_list< int > specifiers={}) |
| |
| void | setCoordinates (const Index &index, const std::vector< double > &coordinates, const std::vector< int > &specifiers={}) |
| |
| int | getDimensions () const |
| |
| int | getNumSpecifiers () const |
| |
| const double * | getCoordinates (const Index &index) const |
| |
| const double * | getCoordinates (int index) const |
| |
| const double * | getCoordinates () const |
| |
| void | translate (std::initializer_list< double > translation) |
| |
| int | getSpecifier (const Index &index, int specifier) const |
| |
| int | getSpecifier (int index, int specifier) const |
| |
| const int * | getSpecifiers (const Index &index) const |
| |
| const int * | getSpecifiers (int index) const |
| |
| const int * | getSpecifiers () const |
| |
| double | getDistance (const Index &index1, const Index &index2) const |
| |
| double | getDistance (int index1, int index2) const |
| |
| int | getBasisSize () const |
| |
| TBTK::Geometry::Geometry |
( |
int |
dimensions, |
|
|
int |
numSpecifiers, |
|
|
Model * |
parentModel |
|
) |
| |
| TBTK::Geometry::~Geometry |
( |
| ) |
|
| int TBTK::Geometry::getBasisSize |
( |
| ) |
const |
|
inline |
Get size of corresponding Hilbert space.
| const double * TBTK::Geometry::getCoordinates |
( |
const Index & |
index | ) |
const |
|
inline |
Get Coordinates using a physical index.
| const double * TBTK::Geometry::getCoordinates |
( |
int |
index | ) |
const |
|
inline |
Get coordinates using a Hilbert space index.
| const double * TBTK::Geometry::getCoordinates |
( |
| ) |
const |
|
inline |
| int TBTK::Geometry::getDimensions |
( |
| ) |
const |
|
inline |
| double TBTK::Geometry::getDistance |
( |
const Index & |
index1, |
|
|
const Index & |
index2 |
|
) |
| const |
Get distance between positions corresponding to index1 and index2, using physical indices.
| double TBTK::Geometry::getDistance |
( |
int |
index1, |
|
|
int |
index2 |
|
) |
| const |
|
inline |
Get distance between positions corresponding to index1 and index2, using physical indices.
| int TBTK::Geometry::getNumSpecifiers |
( |
| ) |
const |
|
inline |
Get number of specifiers.
| int TBTK::Geometry::getSpecifier |
( |
const Index & |
index, |
|
|
int |
specifier |
|
) |
| const |
|
inline |
Get specifier using a physical index.
| int TBTK::Geometry::getSpecifier |
( |
int |
index, |
|
|
int |
specifier |
|
) |
| const |
|
inline |
Get specifier using a Hilbert space index.
| const int * TBTK::Geometry::getSpecifiers |
( |
const Index & |
index | ) |
const |
|
inline |
Get all specifiers for given physical index.
| const int * TBTK::Geometry::getSpecifiers |
( |
int |
index | ) |
const |
|
inline |
Get all speciferis for given Hilbert space index.
| const int * TBTK::Geometry::getSpecifiers |
( |
| ) |
const |
|
inline |
| void TBTK::Geometry::setCoordinates |
( |
const Index & |
index, |
|
|
std::initializer_list< double > |
coordinates, |
|
|
std::initializer_list< int > |
specifiers = {} |
|
) |
| |
Add a coordinate (and specifiers) for an index.
| void TBTK::Geometry::setCoordinates |
( |
const Index & |
index, |
|
|
const std::vector< double > & |
coordinates, |
|
|
const std::vector< int > & |
specifiers = {} |
|
) |
| |
Add a coordinate (and specifiers) for an index.
| void TBTK::Geometry::translate |
( |
std::initializer_list< double > |
translation | ) |
|
Translate all coordinates.
The documentation for this class was generated from the following files:
- /home/kristofer/TBTK/TBTK/calc/TightBindingLib/include/Geometry.h
- /home/kristofer/TBTK/TBTK/calc/TightBindingLib/src/Geometry.cpp