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

check wether element is not tetra.

git-svn-id: https://dune.mathematik.uni-freiburg.de/svn/alugrid/trunk@317 0d966ed9-3843-0410-af09-ebfb50bd7c74
parent a343f73a
No related branches found
No related tags found
No related merge requests found
......@@ -118,13 +118,16 @@ void GitterDuneBasis ::restoreIndices (istream & in)
LeafIterator < helement_STI > ew(*this);
for ( ew->first(); !ew->done(); ew->next())
{
if( ew->item().type() != tetra ) continue;
ew->item().setIndex( idx );
idx++;
}
this->indexManager(0).setMaxIndex ( idx );
assert (debugOption (20) ? (cout << endl << "**INFO GitterDuneBasis :: restoreIndices: create new leaf indices with size = " << idx << " ! file: "<< __FILE__ << ", line: " << __LINE__ << endl, 1) : 1) ;
printsize ();
return ;
}
cerr<< "**WARNING: GitterDuneBasis :: restoreIndices: indices (id = " << indices << ") not read! file: "<< __FILE__ << ", line: " << __LINE__ << "\n";
return ;
......
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