Skip to content
Snippets Groups Projects
Commit e61521f9 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

Added globalIndex to Entity<codim > 0> and made globalIndex on Entity<0>

const. Both methods return just the index.

[[Imported from SVN: r1661]]
parent 8a00cfae
No related branches found
No related tags found
No related merge requests found
......@@ -70,6 +70,7 @@ namespace Dune {
//! used for access to degrees of freedom
int index () const;
int globalIndex() const { return index(); }
/*! Intra-element access to entities of codimension cc > codim. Return number of entities
with codimension cc.
*/
......@@ -187,7 +188,7 @@ namespace Dune {
/** \brief Return the global unique index in mesh
* \todo So far returns the same as index()
*/
int globalIndex() { return index(); }
int globalIndex() const { return index(); }
//! Geometry of this entity
//const UGGridGeometry<dim,dim,GridImp>& geometry () const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment