Mantid
Loading...
Searching...
No Matches
LatticeDomain.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2015 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
9#include "MantidAPI/DllConfig.h"
11#include "MantidKernel/V3D.h"
12
13namespace Mantid {
14namespace API {
15
24class MANTID_API_DLL LatticeDomain : public FunctionDomain {
25public:
26 LatticeDomain(std::vector<Kernel::V3D> hkls);
27
28 size_t size() const override;
29
30 const Kernel::V3D &operator[](size_t i) const;
31
32protected:
33 std::vector<Kernel::V3D> m_hkls;
34};
35
36} // namespace API
37} // namespace Mantid
Base class that represents the domain of a function.
std::vector< Kernel::V3D > m_hkls
Definition: LatticeDomain.h:33
Class for 3D vectors.
Definition: V3D.h:34
Helper class which provides the Collimation Length for SANS instruments.