|
Mantid
|
#include <GridDomain1D.h>
Public Member Functions | |
| std::vector< double > & | getPoints () |
| void | initialize (const double startX, const double endX, const size_t n, const std::string &scaling) |
| initialize More... | |
| size_t | nDimensions () |
| number of dimensions in the grid More... | |
| void | reScale (const std::string &scaling) |
| size_t | size () const override |
| number of grid point s More... | |
Public Member Functions inherited from Mantid::API::GridDomain | |
| std::shared_ptr< GridDomain > | getGrid (size_t index) |
| get the grid at specified index More... | |
| size_t | nDimensions () |
| number of dimensions in the grid More... | |
| void | reScale (const std::string &scaling) |
| re-scale all grids More... | |
| size_t | size () const override |
| number of grid points 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... | |
Private Attributes | |
| std::vector< double > | m_points |
| std::string | m_scaling |
Definition at line 26 of file GridDomain1D.h.
|
inline |
Definition at line 35 of file GridDomain1D.h.
| void Mantid::API::GridDomain1D::initialize | ( | const double | startX, |
| const double | endX, | ||
| const size_t | n, | ||
| const std::string & | scaling | ||
| ) |
|
inline |
number of dimensions in the grid
Definition at line 33 of file GridDomain1D.h.
| void Mantid::API::GridDomain1D::reScale | ( | const std::string & | scaling | ) |
Definition at line 25 of file GridDomain1D.cpp.
References Mantid::Kernel::SingletonHolder< T >::Instance(), m_points, and m_scaling.
Referenced by initialize().
|
inlineoverridevirtual |
number of grid point s
Reimplemented from Mantid::API::GridDomain.
Definition at line 31 of file GridDomain1D.h.
|
private |
Definition at line 39 of file GridDomain1D.h.
Referenced by initialize(), and reScale().
|
private |
Definition at line 38 of file GridDomain1D.h.
Referenced by reScale().