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

Refs #12749. Changed method name, added reference in doxygen comment

parent 79a64fe7
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
......@@ -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()) {
......
......@@ -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);
}
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