Skip to main content

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

Symbols

NameDescription
=Assignment operator for LatticeCoordinate.

Members

NameDescription
basis_indexReturns the basis index of the lattice coordinate
primitive_componentReturns the component of the primitive vector corresponding to the given dimension
primitive_vectorReturns the primitive indices of the lattice coordinate.