6#ifndef gbLAB_ReciprocalLatticeVectorBase_h_
7#define gbLAB_ReciprocalLatticeVectorBase_h_
14 :
public Eigen::Matrix<typename LatticeCore<dim>::IntScalarType, dim, 1> {
15 typedef Eigen::Matrix<typename LatticeCore<dim>::IntScalarType, dim, 1>
54 template <
int dm = dim>
55 typename std::enable_if<dm == 2, LatticeDirection<dim>>::type
58 template <
int dm = dim>
59 typename std::enable_if<dm == 2, LatticeDirection<dim>>::type
cross()
const;
61 template <
int dm = dim>
62 typename std::enable_if<dm == 3, LatticeDirection<dim>>::type
65 template <
int dm = dim>
66 typename std::enable_if<dm == 3, LatticeDirection<dim>>::type
cross()
const;
LatticeCore< dim >::VectorDimI VectorDimI
ReciprocalLatticeVector(ReciprocalLatticeVector< dim > &&other)=default
IntScalarType closestPlaneIndexOfPoint(const VectorDimD &P) const
LatticeCore< dim >::VectorDimD VectorDimD
ReciprocalLatticeVector< dim > & operator+=(const ReciprocalLatticeVector< dim > &other)
ReciprocalLatticeVector< dim > operator*(const IntScalarType &scalar) const
LatticeCore< dim >::MatrixDimI MatrixDimI
ReciprocalLatticeVector< dim > operator-(const ReciprocalLatticeVector< dim > &other) const
ReciprocalLatticeVector< dim > operator+(const ReciprocalLatticeVector< dim > &other) const
std::enable_if< dm==2, LatticeDirection< dim > >::type cross() const
const Lattice< dim > & lattice
IntScalarType dot(const LatticeVector< dim > &other) const
std::enable_if< dm==3, LatticeDirection< dim > >::type cross() const
ReciprocalLatticeVector< dim > & operator-=(const ReciprocalLatticeVector< dim > &other)
VectorDimD cartesian() const
IntScalarType planeIndexOfPoint(const VectorDimD &P) const
std::enable_if< dm==3, LatticeDirection< dim > >::type cross(const ReciprocalLatticeVector< dim > &other) const
ReciprocalLatticeVector< dim > & operator=(const ReciprocalLatticeVector< dim > &other)
Eigen::Matrix< typename LatticeCore< dim >::IntScalarType, dim, 1 > BaseType
LatticeCore< dim >::MatrixDimD MatrixDimD
ReciprocalLatticeVector(const ReciprocalLatticeVector< dim > &other)=default
LatticeCore< dim >::IntScalarType IntScalarType
LatticeVector< dim > operator*(const typename LatticeVector< dim >::IntScalarType &scalar, const LatticeVector< dim > &L)
Eigen::Matrix< IntScalarType, dim, 1 > VectorDimI
long long int IntScalarType
Eigen::Matrix< IntScalarType, dim, dim > MatrixDimI
Eigen::Matrix< double, dim, 1 > VectorDimD
Eigen::Matrix< double, dim, dim > MatrixDimD