Attention une mise à jour du serveur va être effectuée le vendredi 16 avril entre 12h et 12h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 6dd55d3c authored by berenger-bramas's avatar berenger-bramas

In the threaded Fmm I forgot to use the data store on leafs :

const FTreeCoordinate& coord = octreeIterator.getCurrentGlobalCoordinate();
to split leafs (I was using the Morton Index To TreeCoordinate
but now the leafs contains this information).

git-svn-id: svn+ssh:// 2616d619-271b-44dc-8df4-d4a8f33a7222
parent ad06ddeb
......@@ -332,9 +332,7 @@ public:
//iterArray[leafs] = octreeIterator;
const MortonIndex index = octreeIterator.getCurrentGlobalIndex();
FTreeCoordinate coord;
coord.setPositionFromMorton(index, LeafIndex);
const FTreeCoordinate& coord = octreeIterator.getCurrentGlobalCoordinate();
const int shapePosition = (coord.getX()%3)*9 + (coord.getY()%3)*3 + (coord.getZ()%3);
leafsDataArray[startPosAtShape[shapePosition]].index = octreeIterator.getCurrentGlobalIndex();
......@@ -838,9 +838,6 @@ public:
for(int idxLeaf = this->leafLeft ; idxLeaf <= this->leafRight ; ++idxLeaf){
iterArray[idxLeaf] = octreeIterator;
//const MortonIndex index = octreeIterator.getCurrentGlobalIndex();
//FTreeCoordinate coord;
//coord.setPositionFromMorton(index, LeafIndex);
const FTreeCoordinate& coord = octreeIterator.getCurrentCell()->getCoordinate();
const int shape = (coord.getX()%3)*9 + (coord.getY()%3)*3 + (coord.getZ()%3);
shapeType[idxLeaf-this->leafLeft] = shape;
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