diff --git a/Code/Mantid/Framework/Geometry/inc/MantidGeometry/Crystal/SpaceGroup.h b/Code/Mantid/Framework/Geometry/inc/MantidGeometry/Crystal/SpaceGroup.h index 6ac3de09d2a8485709d7e00459a1bf5e0fb8f259..5992acac8609cc67144b64e34898531727cc8f7b 100644 --- a/Code/Mantid/Framework/Geometry/inc/MantidGeometry/Crystal/SpaceGroup.h +++ b/Code/Mantid/Framework/Geometry/inc/MantidGeometry/Crystal/SpaceGroup.h @@ -87,7 +87,7 @@ public: return equivalents; } - bool isAllowed(const Kernel::V3D &hkl) const; + bool isAllowedReflection(const Kernel::V3D &hkl) const; protected: size_t m_number; diff --git a/Code/Mantid/Framework/Geometry/src/Crystal/SpaceGroup.cpp b/Code/Mantid/Framework/Geometry/src/Crystal/SpaceGroup.cpp index 507dfc45318fd622271c991fab3ddcf199f99688..385cee2cd49df292561c8413e6ca78318f2cd49a 100644 --- a/Code/Mantid/Framework/Geometry/src/Crystal/SpaceGroup.cpp +++ b/Code/Mantid/Framework/Geometry/src/Crystal/SpaceGroup.cpp @@ -53,10 +53,12 @@ std::string SpaceGroup::hmSymbol() const { return m_hmSymbol; } * symmetry operations alone. For these situations, Geometry::CrystalStructure * can help. * + * [1] http://www.iucr.org/education/pamphlets/9/full-text + * * @param hkl :: HKL to be checked. * @return :: true if the reflection is allowed, false otherwise. */ -bool SpaceGroup::isAllowed(const Kernel::V3D &hkl) const { +bool SpaceGroup::isAllowedReflection(const Kernel::V3D &hkl) const { for (auto op = m_allOperations.begin(); op != m_allOperations.end(); ++op) { if ((*op).hasTranslation()) { diff --git a/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp b/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp index 84b7736a8f958d223243135a281b3d5245f08d53..1cf82f07fa0e9b6d6ab79f4346abdd10ec6e26f0 100644 --- a/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp +++ b/Code/Mantid/Framework/PythonInterface/mantid/geometry/src/Exports/SpaceGroup.cpp @@ -42,5 +42,5 @@ void export_SpaceGroup() { .def("getEquivalentPositions", &getEquivalentPositions, "Returns an array with all symmetry equivalents of the supplied " "HKL.") - .def("isAllowed", &SpaceGroup::isAllowed); + .def("isAllowedReflection", &SpaceGroup::isAllowedReflection); }