25 #ifndef UQ_STD_ONE_D_GRID_FUNCTION_H
26 #define UQ_STD_ONE_D_GRID_FUNCTION_H
28 #include <queso/Environment.h>
29 #include <queso/OneDGrid.h>
52 const std::vector<T>& points);
65 unsigned int size ()
const;
81 #endif // UQ_STD_ONE_D_GRID_FUNCTION_H
std::vector< T > m_points
This (virtual) class sets up the environment underlying the use of the QUESO library by an executable...
Base class for accommodating one-dimensional grids.
StdOneDGrid(const BaseEnvironment &env, const char *prefix, const std::vector< T > &points)
Default constructor.
Class for accommodating standard one-dimensional grids.
T operator[](unsigned int i) const
Returns the position of the i-th point in the grid.
unsigned int findIntervalId(const T ¶mValue) const
Finds the ID of an interval. See template specialization.
unsigned int size() const
Grid size; the amount of points which defines the grid.
~StdOneDGrid()
Destructor.