Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Mantid::API::LatticeDomain Class Reference

LatticeDomain. More...

#include <LatticeDomain.h>

Inheritance diagram for Mantid::API::LatticeDomain:
Mantid::API::FunctionDomain

Public Member Functions

 LatticeDomain (std::vector< Kernel::V3D > hkls)
 
const Kernel::V3Doperator[] (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::V3Dm_hkls
 

Detailed Description

LatticeDomain.

This domain stores V3D-objects as HKLs instead of double-values. It can be used to refine lattice parameters from HKL/d-pairs.

Author
Michael Wedel, Paul Scherrer Institut - SINQ
Date
15/04/2015

Definition at line 24 of file LatticeDomain.h.

Constructor & Destructor Documentation

◆ LatticeDomain()

Mantid::API::LatticeDomain::LatticeDomain ( std::vector< Kernel::V3D hkls)

Definition at line 13 of file LatticeDomain.cpp.

Member Function Documentation

◆ operator[]()

const Kernel::V3D & Mantid::API::LatticeDomain::operator[] ( size_t  i) const

Definition at line 17 of file LatticeDomain.cpp.

References m_hkls.

◆ size()

size_t Mantid::API::LatticeDomain::size ( ) const
overridevirtual

Return the number of points in the domain.

Implements Mantid::API::FunctionDomain.

Definition at line 15 of file LatticeDomain.cpp.

References m_hkls.

Member Data Documentation

◆ m_hkls

std::vector<Kernel::V3D> Mantid::API::LatticeDomain::m_hkls
protected

Definition at line 33 of file LatticeDomain.h.

Referenced by operator[](), and size().


The documentation for this class was generated from the following files: