31 for (
auto it = this->
begin(); it != this->
end(); ++it) {
51 for (
auto &e : clust) {
value_type & element(size_type index)
Access an element in the cluster by index.
iterator end()
Iterator to the past-the-last element in the cluster.
iterator begin()
Iterator to first element in the cluster.
IntegralCluster & operator+=(xtal::UnitCell trans)
Translate the cluster by a UnitCell translation.
std::vector< xtal::UnitCellCoord > m_element
const PrimType * m_prim_ptr
std::vector< Element > & elements()
Access vector of elements.
const PrimType & prim() const
IntegralCluster(PrimType const &prim)
xtal::Coordinate coordinate(size_type i) const
Return the coordinate corresponding to element(i)
Structure specifies the lattice and atomic basis of a crystal.
SymOp is the Coordinate representation of a symmetry operation it keeps fraction (FRAC) and Cartesian...
Represents cartesian and fractional coordinates.
xtal::Coordinate & apply(const xtal::SymOp &op, xtal::Coordinate &coord)
apply SymOp to a Coordinate