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

minor changes due to the change of dbegin ....

[[Imported from SVN: r1193]]
parent 722b0a87
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,6 @@ namespace Dune {
int codimsize (int codim ) const
{
// return number of vertices
//std::cout << level_ << " " << codim << " size l|c \n";
return dimrange * indexSet_.size(level_,codim);
}
......
......@@ -37,6 +37,9 @@ namespace Dune {
if(baseFuncSet_[i])
maxNumBase_ = std::max(baseFuncSet_[i]->getNumberOfBaseFunctions(),maxNumBase_);
}
// for empty functions space which can happen for BSGrid
if(!mapper_) makeBaseSet<line,0> ();
}
template< class FunctionSpaceType, class GridType,int polOrd, class DofManagerType >
......@@ -157,6 +160,7 @@ namespace Dune {
signIn (DiscFuncType & df)
{
// only for gcc to pass type DofType
assert(mapper_ != 0);
DofType *fake=0;
return dm_.addDofSet( fake, this->grid_ , *mapper_, df.name() );
}
......
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