8#ifndef model_LatticePlane_h_
9#define model_LatticePlane_h_
49 for(
const auto& val :
key.array)
60 static constexpr int dim=3;
LatticeVector< dim > LatticeVectorType
static std::pair< bool, long int > computeHeight(const ReciprocalLatticeDirection< dim > &r, const VectorDimD &P)
const LatticePlaneKey< dim >::LongIntType planeIndex
Eigen::Matrix< double, dim, 1 > VectorDimD
const LatticePlaneKey< dim > key
const ReciprocalLatticeDirection< dim > n
LatticePlane(const VectorDimD &P, const ReciprocalLatticeDirection< dim > &r)
VectorDimD planeOrigin() const
friend T & operator<<(T &os, const LatticePlaneKey< dim > &key)
Eigen::Matrix< double, dim, 1 > VectorDimD
static int sgn(const LongIntType &val)
static ArrayType hr2array(const VectorDimI &r, const LongIntType &h, const LongIntType &latticeID)
bool operator<(const LatticePlaneKey< dim > &other) const
Eigen::Matrix< LongIntType, dim, 1 > VectorDimI
LatticePlaneKey(const VectorDimI &r, const LongIntType &h, const LongIntType &latticeID)
const LongIntType & latticeID() const
std::array< LongIntType, dim+2 > ArrayType
const LongIntType & planeIndex() const
static ArrayType correct_h_sign(VectorDimI r, LongIntType h, const LongIntType &latticeID)
VectorDimI reciprocalDirectionComponents() const