Mantid
|
#include <LatticeDomain.h>
Public Member Functions | |
LatticeDomain (std::vector< Kernel::V3D > hkls) | |
const Kernel::V3D & | operator[] (size_t i) const |
size_t | size () const override |
Return the number of points in the domain. More... | |
Public Member Functions inherited from Mantid::API::FunctionDomain | |
virtual void | reset () const |
Reset the the domain so it can be reused. More... | |
virtual size_t | size () const =0 |
Return the number of points in the domain. More... | |
virtual | ~FunctionDomain ()=default |
Virtual destructor. More... | |
Protected Attributes | |
std::vector< Kernel::V3D > | m_hkls |
This domain stores V3D-objects as HKLs instead of double-values. It can be used to refine lattice parameters from HKL/d-pairs.
Definition at line 24 of file LatticeDomain.h.
Mantid::API::LatticeDomain::LatticeDomain | ( | std::vector< Kernel::V3D > | hkls | ) |
Definition at line 13 of file LatticeDomain.cpp.
const Kernel::V3D & Mantid::API::LatticeDomain::operator[] | ( | size_t | i | ) | const |
Definition at line 17 of file LatticeDomain.cpp.
References m_hkls.
|
overridevirtual |
Return the number of points in the domain.
Implements Mantid::API::FunctionDomain.
Definition at line 15 of file LatticeDomain.cpp.
References m_hkls.
|
protected |
Definition at line 33 of file LatticeDomain.h.
Referenced by operator[](), and size().