Commit 7d6a8e5a authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

optimized performance of InfoCollection generation

parent d5ddf031
......@@ -55,8 +55,6 @@ void createWithNeighborhood(Accessor& ac, const BlockForest& bf, pe::InfoCollect
++info.computationalWeight;
}
}
for (uint_t branchID = 0; branchID < 8; ++branchID)
{
const auto childID = BlockID(block->getId(), branchID);
......@@ -71,7 +69,10 @@ void createWithNeighborhood(Accessor& ac, const BlockForest& bf, pe::InfoCollect
{
++childInfo.computationalWeight;
}
break; //particle can only be located within one child
}
}
break; //particle can only be located within one block
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment