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
T operator[](unsigned int i) const
Returns the position of the i-th point in the grid.
unsigned int size() const
Grid size; the amount of points which defines the grid.
~StdOneDGrid()
Destructor.
std::vector< T > m_points
Class for accommodating standard one-dimensional grids.
unsigned int findIntervalId(const T ¶mValue) const
Finds the ID of an interval. See template specialization.
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.