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

size methods work also for codim==dim-1 now

[[Imported from SVN: r2943]]
parent 01bd59ba
No related branches found
No related tags found
No related merge requests found
......@@ -283,10 +283,20 @@ namespace Dune {
}
if (codim==dim)
{
if (dim==2) return size(codim,simplex);
if (dim==3) return size(codim,simplex);
return size(codim,cube);
}
if (codim==dim-1)
{
return size(codim,cube);
}
#if (dim==3)
if (codim==1)
{
return size(1,cube)+size(1,simplex);
}
#endif
std::cout << "dim=" << dim << " codim=" << codim << std::endl;
DUNE_THROW(NotImplemented, "not implemented");
return 0;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment