Mantid
|
#include <GridDomain.h>
Public Member Functions | |
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< std::shared_ptr< GridDomain > > | m_grids |
composition of grids More... | |
Definition at line 27 of file GridDomain.h.
GridDomain_sptr Mantid::API::GridDomain::getGrid | ( | size_t | index | ) |
get the grid at specified index
Definition at line 40 of file GridDomain.cpp.
References Mantid::Kernel::Logger::error(), Mantid::API::g_log, index, and m_grids.
size_t Mantid::API::GridDomain::nDimensions | ( | ) |
number of dimensions in the grid
number of dimensions of the grid
Definition at line 32 of file GridDomain.cpp.
void Mantid::API::GridDomain::reScale | ( | const std::string & | scaling | ) |
|
overridevirtual |
number of grid points
number of points in the grid
Implements Mantid::API::FunctionDomain.
Reimplemented in Mantid::API::GridDomain1D.
Definition at line 23 of file GridDomain.cpp.
|
private |
composition of grids
Definition at line 40 of file GridDomain.h.
Referenced by getGrid(), nDimensions(), reScale(), and size().