LatticeCoordinate
Represents a lattice coordinate in terms of primitive indices and a basis index.
Factories
lattice_coordinate(List<integer> primitive_vector) -> LatticeCoordinate
Constructor for lattice coordinate.
Parameters
- primitive_vector: Primitive vector for the lattice coordinate.
lattice_coordinate(List<integer> primitive_vector, integer basis_index) -> LatticeCoordinate
Constructor for a lattice coordinate.
Parameters
- primitive_vector: Primitive vector for the lattice coordinate.
- basis_index: Basis index for the lattice coordinate.
Constructors
LatticeCoordinate(const LatticeCoordinate coordinate) -> LatticeCoordinate
Copy constructor for a LatticeCoordinate
Parameters
- coordinate: LatticeCoordinate to be copied.
Symbols
| Name | Description |
|---|---|
= | Assignment operator for LatticeCoordinate. |
Members
| Name | Description |
|---|---|
| basis_index | Returns the basis index of the lattice coordinate |
| primitive_component | Returns the component of the primitive vector corresponding to the given dimension |
| primitive_vector | Returns the primitive indices of the lattice coordinate. |