Skip to content
Snippets Groups Projects
Commit fcb4a4ce authored by Michael Wedel's avatar Michael Wedel
Browse files

Refs #11006. More cleaning

parent a9a71d4c
No related branches found
No related tags found
No related merge requests found
......@@ -57,8 +57,6 @@ public:
Kernel::V3D getReflectionFamily(const Kernel::V3D &hkl) const;
protected:
bool groupHasNoTranslations(const Group &group) const;
std::vector<Kernel::V3D> getEquivalentSet(const Kernel::V3D &hkl) const;
CrystalSystem getCrystalSystemFromGroup() const;
......
......@@ -32,8 +32,6 @@ using Kernel::IntMatrix;
*/
std::vector<V3D> PointGroup::getEquivalents(const V3D &hkl) const {
return getEquivalentSet(hkl);
// return std::vector<V3D>(equivalents.rbegin(), equivalents.rend());
}
/**
......@@ -53,18 +51,6 @@ V3D PointGroup::getReflectionFamily(const Kernel::V3D &hkl) const {
return *getEquivalentSet(hkl).begin();
}
bool PointGroup::groupHasNoTranslations(const Group &group) const {
const std::vector<SymmetryOperation> &symOps = group.getSymmetryOperations();
for (auto op = symOps.begin(); op != symOps.end(); ++op) {
if ((*op).hasTranslation()) {
return false;
}
}
return true;
}
/// Protected constructor - can not be used directly.
PointGroup::PointGroup(const std::string &symbolHM, const Group &group,
const std::string &description)
......@@ -182,7 +168,7 @@ PointGroup::CrystalSystem PointGroup::getCrystalSystemFromGroup() const {
* correct results for transformation of miller indices. This is important
* in case of hexagonal transformation matrices.
*
* @return
* @return :: Transformation matrices for hkls.
*/
std::vector<Kernel::IntMatrix> PointGroup::getHKLTranformationMatrices() const {
std::vector<Kernel::IntMatrix> matrices;
......
......@@ -216,24 +216,6 @@ private:
std::cout << "Eq: " << h << ", Time: " << time / 1000.0 << std::endl;
}
/*
class TestablePointGroup : public PointGroup
{
friend class PointGroupTest;
public:
TestablePointGroup() : PointGroup("")
{ }
~TestablePointGroup() {}
MOCK_CONST_METHOD0(getName, std::string());
MOCK_CONST_METHOD2(isEquivalent, bool(const V3D &hkl, const V3D &hkl2));
MOCK_CONST_METHOD0(crystalSystem, PointGroup::CrystalSystem());
void init() { }
};
*/
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment