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

removed unknown

[[Imported from SVN: r3566]]
parent cc35a6de
Branches
Tags
No related merge requests found
......@@ -676,15 +676,23 @@ namespace Dune {
}
//! return size of grid entities per level and codim
int size ( int codim , GeometryType type = unknown ) const
int size ( int codim , GeometryType type ) const
{
if( !codimUsed_[codim] )
{
assert( hIndexSet_.geomTypes(codim).size() == 1 );
return CountElements<MyType,dim>::count(*this,codim,type);
}
return codimLeafSet_[codim].size();
}
//! return size of grid entities per level and codim
int size ( int codim ) const
{
assert( hIndexSet_.geomTypes(codim).size() == 1 );
return size(codim,hIndexSet_.geomTypes(codim)[0]);
}
//! returns vector with geometry tpyes this index set has indices for
const std::vector <GeometryType> & geomTypes (int codim) const
{
......@@ -779,8 +787,8 @@ namespace Dune {
resizeVectors();
// give all entities that lie below the old entities new numbers
//markAllBelowOld ();
markAllUsed ();
markAllBelowOld ();
//markAllUsed ();
}
//! for dof manager, to check whether it has to copy dof or not
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment