16 template<
typename ClustType>
17 class GenericOrbitBranch;
19 template<
typename ClustType>
29 template<
typename ClustType>
76 void set_pivot(
const ClustType &new_pivot);
90 Index find(
const ClustType &test_clust,
double tol)
const;
93 bool contains(
const ClustType &test_clust,
double tol)
const;
Index num_sites() const
How many points are allowed in clusters belonging to this OrbitBranch.
const ClustType & equiv(Index no, Index ne) const
Method to access equivalent clusters of Orbit 'no'.
Index find(const ClustType &test_clust, double tol) const
void sort()
Sorts all of the orbits in OrbitBranch by max_length.
Array< Index > index
'index' is index of each orbit in an ordered linear array
bool contains(const ClustType &test_clust, double tol) const
If cluster exists in current OrbitBranch, return true.
GenericOrbitBranch & operator+=(const Coordinate &shift)
void set_pivot(const ClustType &new_pivot)
GenericOrbitBranch< SiteCluster > SiteOrbitBranch
GenericOrbit< ClustType > & orbit(Index no)
Method to access orbits.
GenericOrbitBranch(const Lattice &init_home, Index tnum_sites)
jsonParser & to_json(jsonParser &json) const
void push_back(const GenericOrbit< ClustType > &new_orbit)
SymGroup is a collection of symmetry operations that satisfy the group property The symmetry operatio...
GenericOrbitBranch(const Lattice &init_home)
GenericOrbitree< SiteCluster > SiteOrbitree
SymOp is the Coordinate representation of a symmetry operation it keeps fraction (FRAC) and Cartesian...
void print(std::ostream &stream, COORD_TYPE mode=FRAC)
Represents cartesian and fractional coordinates.
EigenIndex Index
For long integer indexing:
GenericOrbitBranch & operator-=(const Coordinate &shift)
GenericOrbitBranch(const ClustType &init_pivot, Index tnum_sites)
GenericOrbit< ClustType > & at(Index ind)
void from_json(const jsonParser &json)
Assumes the pivot lattice is already set.
ClustType & prototype(Index no)
Method to access prototypes.
void set_lattice(const Lattice &new_lat, COORD_TYPE mode)
Calls set_lattice on all orbits of OrbitBranch.
Index m_num_sites
The number of points for all Orbits in this OrbitBranch.
GenericOrbitBranch(const ClustType &init_pivot)
GenericOrbitBranch & apply_sym(const SymOp &op)
apply_sym to everything in this OrbitBranch (i.e, pivot and all Orbits)
bool extract_orbits_including(const ClustType &pivot, GenericOrbitBranch &flowerbranch, double tol) const
void generate_asymmetric_unit(const Array< typename ClustType::WhichCoordType > &basis, const SymGroup &factor_group, double tol)
GenericOrbit< ClustType > & back()
Basic std::vector like container (deprecated)