Skip to content
Snippets Groups Projects
Commit 33221fff authored by Christian Engwer's avatar Christian Engwer
Browse files

geomTypes returned the wrong codim

[[Imported from SVN: r3950]]
parent fd8f8fdc
No related branches found
No related tags found
No related merge requests found
......@@ -906,8 +906,7 @@ namespace Dune {
SGridLevelIndexSet (const GridImp& g, int l) : grid(g), level(l)
{
// contains a single element type;
mytypes.push_back(
NewGeometryType(NewGeometryType::cube,GridImp::dimension));
mytypes.push_back(NewGeometryType(NewGeometryType::cube,0));
}
//! get index of an entity
......@@ -983,8 +982,7 @@ namespace Dune {
SGridLeafIndexSet (const GridImp& g) : grid(g)
{
// contains a single element type;
mytypes.push_back(
NewGeometryType(NewGeometryType::cube,GridImp::dimension));
mytypes.push_back(NewGeometryType(NewGeometryType::cube,0));
}
//! get index of an entity
......
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