Template Class SGrid
Defined in File SGrid.hpp
Class Documentation
-
template<typename FG_ELEMENT>
class SGrid Public Functions
-
SGrid(DimType dim, LevelType n, BoundaryType boundary = 0)
create sparse grid of dimension d and level n with or without boundary in all dimensions
-
SGrid(DimType dim, const LevelVector &nmax, const LevelVector &lmin, const std::vector<BoundaryType> &boundary)
create sparse grid of dimension d and specify for each dimension the the maximum discretization level and whether there is a boundary or not
-
virtual ~SGrid()
-
void print(std::ostream &os) const
-
inline size_t getSize() const
-
size_t getLevelIndex(const LevelVector &l) const
-
inline bool isContained(const LevelVector &l, size_t &index) const
-
inline bool isContained(const LevelVector &l) const
-
inline const LevelVector &getNMax() const
-
inline const LevelVector &getNMin() const
-
inline const LevelVector &getLevelVector(size_t i) const
-
inline const std::vector<BoundaryType> &getBoundaryVector() const
-
SGrid(DimType dim, LevelType n, BoundaryType boundary = 0)