Skip to content
Snippets Groups Projects
Commit 9b94e6cb authored by Peter Bastian's avatar Peter Bastian
Browse files

returns now hypercube as element type

missing return statement

[[Imported from SVN: r2097]]
parent a4f6693b
No related branches found
No related tags found
No related merge requests found
......@@ -166,13 +166,7 @@ namespace Dune {
//! return the element type identifier
GeometryType type () const
{
switch (mydim)
{
case 1 : return line;
case 2 : return quadrilateral;
case 3 : return hexahedron;
default : return unknown;
}
return hypercube;
}
//! return the number of corners of this element. Corners are numbered 0...n-1
......@@ -319,13 +313,7 @@ namespace Dune {
//! return the element type identifier
GeometryType type () const
{
switch (mydim)
{
case 1 : return line;
case 2 : return quadrilateral;
case 3 : return hexahedron;
default : return unknown;
}
return hypercube;
}
//! return the number of corners of this element. Corners are numbered 0...n-1
......@@ -784,7 +772,7 @@ namespace Dune {
//! consecutive, codim-wise, level-wise index
int compressedIndex () const
{
_it.superindex();
return _it.superindex();
}
//! subentity persistent index
......
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