-
- Downloads
There was a problem fetching the pipeline summary.
Implement the subIndex method for entities of all dimensions
Previously, it was available only for elements. The following question appears: what does the codim-parameter in template<int cc> unsigned int subIndex (const Codim<cc>::Entity& e, int i, unsigned int codim) const mean? Is it the codimension wrt to the grid, or wrt to the entity e? I did not find this documented anywhere, and therefore made my own choice. The 'codim' in this patch is the codimension with respect to the *grid*.
parent
a65825d4
No related branches found
No related tags found
Pipeline #
Loading
-
There is an obvious choice: It is the codimension with respect to the grid (as you guessed). This is what you get from
ReferenceElement::subEntity(i,c,ii,cc)
Please refer to the original implementor is this method for semantics.
I will update the documentation of index set and id set accordingly.
Edited by Martin Nolte -
I updated the documentation for IndexSet in !97 (merged). For IdSets, the corresponding method seems to be missing, see #29.
Please register or sign in to comment