Commit c9d33a49 authored by berenger-bramas's avatar berenger-bramas

Update kernel to work with the new M2L prototype.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@375 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 06149ef8
......@@ -101,13 +101,13 @@ public:
boxWidth(inBoxWidth),
treeHeight(inTreeHeight),
periodicLevels(inPeriodicLevel),
widthAtLeafLevel(inBoxWidth/FReal(1 << inTreeHeight)),
widthAtLeafLevel(inBoxWidth/FReal(1 << (inTreeHeight-1))),
widthAtLeafLevelDiv2(widthAtLeafLevel/2),
boxCorner(inBoxCenter.getX()-(inBoxWidth/2),inBoxCenter.getY()-(inBoxWidth/2),inBoxCenter.getZ()-(inBoxWidth/2)),
harmonic(inDevP),
preL2LTransitions(0),
preM2MTransitions(0) {
std::cout << "widthAtLeafLevel " << widthAtLeafLevel << "\n";
allocAndInit();
}
......
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