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