Skip to content
Snippets Groups Projects
Commit 740ef593 authored by Adrian Burri's avatar Adrian Burri
Browse files

fixed dimrange bug - change in interface

[[Imported from SVN: r1910]]
parent e95a4012
No related branches found
No related tags found
No related merge requests found
......@@ -110,17 +110,17 @@ namespace ALU3dGridSpace {
//elem.resetRefinedTag();
assert( son );
dm_.resizeChunk(elem.getIndex(),chunkSize_);
//dm_.resizeChunk(elem.getIndex(),chunkSize_);
realSon_.setElement(*son);
realFather_.setElement(elem);
rp_.restrictLocal(reFather_,reSon_,true);
rp_.restrictLocal(reFather_,reSon_, chunkSize_ ,true);
son = son->next();
while( son )
{
realSon_.setElement(*son);
rp_.restrictLocal(reFather_,reSon_,false);
rp_.restrictLocal(reFather_,reSon_, chunkSize_,false);
son = son->next();
}
return 0;
......@@ -134,21 +134,19 @@ namespace ALU3dGridSpace {
assert( son );
//elem.resetRefinedTag();
dm_.resizeChunk((*son).getIndex(),chunkSize_);
realFather_.setElement(elem);
realSon_.setElement(*son);
if(realSon_.level() > maxlevel_) maxlevel_ = realSon_.level();
rp_.prolongLocal(reFather_,reSon_,false);
rp_.prolongLocal(reFather_,reSon_, chunkSize_, false);
son = son->next();
while( son )
{
assert( son );
dm_.resizeChunk((*son).getIndex(),chunkSize_);
realSon_.setElement(*son);
rp_.prolongLocal(reFather_,reSon_,false);
rp_.prolongLocal(reFather_,reSon_, chunkSize_, false);
//(*son).resetRefinedTag();
son = son->next();
......
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