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

removed unknown

[[Imported from SVN: r3570]]
parent 03c6ae7c
No related branches found
No related tags found
No related merge requests found
......@@ -72,8 +72,17 @@ namespace Dune {
}
//! return size of indexset, i.e. maxindex+1
//! type is now used in this method
int size ( int codim , GeometryType type = unknown ) const
//! for given type, if type is not exisiting within grid 0 is returned
int size ( int codim , GeometryType type ) const
{
assert( grid_.geomTypes(codim).size() == 1 );
if( type != grid_.geomTypes(codim)[0] ) return 0;
// return size of hierarchic index set
return grid_.hierSetSize(codim);
}
//! return size of indexset, i.e. maxindex+1
int size ( int codim ) const
{
// return size of hierarchic index set
return grid_.hierSetSize(codim);
......
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