20 :
Group(generateAllOperations(symmetryOperation)) {}
25 std::vector<SymmetryOperation> symOps(1, operation);
26 symOps.reserve(operation.
order());
27 for (
size_t i = 1; i < operation.
order(); ++i) {
28 symOps.emplace_back(operation * symOps.back());
CyclicGroup(const std::string &symmetryOperationString)
Construct cyclic group from one symmetry operation by applying it to itself until identity is obtaine...
std::vector< SymmetryOperation > generateAllOperations(const SymmetryOperation &operation) const
Returns a vector with all symmetry operations that are part of the cyclic group defined by the genera...
The class Group represents a set of symmetry operations (or symmetry group).
Crystallographic symmetry operations are composed of a rotational component, which is represented by ...
size_t order() const
Returns the order of the symmetry operation.
Manage the lifetime of a class intended to be a singleton.