Commit 84e79774 authored by berenger-bramas's avatar berenger-bramas

FMA format contains the box width which is the halph of the real size of the box.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@350 2616d619-271b-44dc-8df4-d4a8f33a7222
parent c6736e93
......@@ -56,7 +56,7 @@ public:
FReal x,y,z;
this->file >> this->nbParticles >> this->boxWidth >> x >> y >> z;
this->centerOfBox.setPosition(x,y,z);
//this->boxWidth *= 2;
this->boxWidth *= 2;
}
else {
this->boxWidth = 0;
......
......@@ -126,7 +126,6 @@ public:
removeWarning += fread(&sizeOfElement, sizeof(int), 1, file);
FDEBUG(if(sizeOfElement != int(sizeof(FReal)) ){)
FDEBUG( FDebug::Controller.writeFromLine("Warning type size between file and FReal are differents\n", __LINE__, __FILE__); )
printf("%d sizeofelement\n",sizeOfElement);
FDEBUG(})
removeWarning += fread(&this->totalNbParticles, sizeof(FSize), 1, file);
......
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