Mantid
|
Helper class to keep this out of the interface of CenteringGroup. More...
#include <CenteringGroup.h>
Public Member Functions | |
CenteringGroup::CenteringType | getCenteringType (const std::string ¢eringSymbol) const |
Returns centering type enum value if centering symbol exists, throws std::invalid_argument exception otherwise. More... | |
std::vector< SymmetryOperation > | getSymmetryOperations (CenteringGroup::CenteringType centeringType) const |
Returns a vector of symmetry operations for the given centering type or throws std::invalid_argument if an invalid value is supplied. More... | |
Protected Member Functions | |
CenteringGroupCreatorImpl () | |
std::vector< SymmetryOperation > | getACentered () const |
Returns symmetry operations for A-centering. More... | |
std::vector< SymmetryOperation > | getBCentered () const |
Returns symmetry operations for B-centering. More... | |
std::vector< SymmetryOperation > | getBodyCentered () const |
Returns symmetry operations for I-centering. More... | |
std::vector< SymmetryOperation > | getCCentered () const |
Returns symmetry operations for C-centering. More... | |
std::vector< SymmetryOperation > | getFCentered () const |
Returns symmetry operations for F-centering. More... | |
std::vector< SymmetryOperation > | getPrimitive () const |
Returns symmetry operations for P-centering. More... | |
std::vector< SymmetryOperation > | getRobvCentered () const |
Returns symmetry operations for R-centering, obverse setting. More... | |
std::vector< SymmetryOperation > | getRrevCentered () const |
Returns symmetry operations for R-centering, reverse setting. More... | |
Protected Attributes | |
std::map< std::string, CenteringGroup::CenteringType > | m_centeringSymbolMap |
Friends | |
struct | Mantid::Kernel::CreateUsingNew< CenteringGroupCreatorImpl > |
Helper class to keep this out of the interface of CenteringGroup.
Definition at line 57 of file CenteringGroup.h.
|
protected |
Definition at line 106 of file CenteringGroup.cpp.
References Mantid::Geometry::CenteringGroup::A, Mantid::Geometry::CenteringGroup::B, Mantid::Geometry::CenteringGroup::C, Mantid::Geometry::CenteringGroup::F, Mantid::Geometry::CenteringGroup::I, Mantid::Geometry::CenteringGroup::P, Mantid::Geometry::CenteringGroup::Robv, and Mantid::Geometry::CenteringGroup::Rrev.
|
protected |
Returns symmetry operations for A-centering.
Definition at line 77 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
|
protected |
Returns symmetry operations for B-centering.
Definition at line 82 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
|
protected |
Returns symmetry operations for I-centering.
Definition at line 72 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
|
protected |
Returns symmetry operations for C-centering.
Definition at line 87 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
CenteringGroup::CenteringType Mantid::Geometry::CenteringGroupCreatorImpl::getCenteringType | ( | const std::string & | centeringSymbol | ) | const |
Returns centering type enum value if centering symbol exists, throws std::invalid_argument exception otherwise.
Definition at line 30 of file CenteringGroup.cpp.
References m_centeringSymbolMap.
|
protected |
Returns symmetry operations for F-centering.
Definition at line 92 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
|
protected |
Returns symmetry operations for P-centering.
Definition at line 67 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
|
protected |
Returns symmetry operations for R-centering, obverse setting.
Definition at line 97 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
|
protected |
Returns symmetry operations for R-centering, reverse setting.
Definition at line 102 of file CenteringGroup.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance().
Referenced by getSymmetryOperations().
std::vector< SymmetryOperation > Mantid::Geometry::CenteringGroupCreatorImpl::getSymmetryOperations | ( | CenteringGroup::CenteringType | centeringType | ) | const |
Returns a vector of symmetry operations for the given centering type or throws std::invalid_argument if an invalid value is supplied.
Definition at line 43 of file CenteringGroup.cpp.
References Mantid::Geometry::CenteringGroup::A, Mantid::Geometry::CenteringGroup::B, Mantid::Geometry::CenteringGroup::C, Mantid::Geometry::CenteringGroup::F, getACentered(), getBCentered(), getBodyCentered(), getCCentered(), getFCentered(), getPrimitive(), getRobvCentered(), getRrevCentered(), Mantid::Geometry::CenteringGroup::I, Mantid::Geometry::CenteringGroup::P, Mantid::Geometry::CenteringGroup::Robv, and Mantid::Geometry::CenteringGroup::Rrev.
|
friend |
Definition at line 74 of file CenteringGroup.h.
|
protected |
Definition at line 74 of file CenteringGroup.h.
Referenced by getCenteringType().