Function combigrid::createTruncatedHierarchicalLevelsRec
Defined in File LevelSetUtils.cpp
Function Documentation
-
void combigrid::createTruncatedHierarchicalLevelsRec(DimType dim, size_t n, LevelVector &l, const LevelVector &lmax, const LevelVector &lmin, std::vector<LevelVector> &created)
recursively generate a downward-closed set of hierarchical level vectors
start recursion by setting dim=d=dimensionality of the vector space. For instance, for correct subspace restriction in d > 2, we need 3 criteria: the diagonal hyperplane that restricts to the simplex, the maximum of lmax in every dimension, and the mixed dimension sum restrictions
- Parameters:
dim – : the currently recursively iterated dimension
n – : the “regular level”, here the minimum of the difference of lmax and lmin
l – : the currently populated level vector (entries filled only from dim to d-1)
lmax –
lmin –
created – : output vector of subspaces