56 Lattice() { setOrigin(V3Zero); }
62 int getNumSitesPerCell() {
return nCellSites; }
64 void getLatticePointsPos(std::vector<Vector3d>& latticePos,
int nx,
int ny,
67 std::vector<Vector3d> getLatticePointsOrt() {
return cellSitesOrt; }
70 virtual std::vector<RealType> getLatticeConstant() = 0;
73 virtual void setLatticeConstant(
const std::vector<RealType>& lc) = 0;
76 Vector3d getOrigin() {
return origin; }
79 void setOrigin(
const Vector3d& newOrigin) { this->origin = newOrigin; }
82 virtual void update() = 0;
86 std::vector<Vector3d> cellSitesPos;
87 std::vector<Vector3d> cellSitesOrt;