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

[duplicate] Remove erros on plafrim.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@470 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 2795fc54
......@@ -159,7 +159,7 @@ int main(int argc, char ** argv){
// std::cout << "Current Morton Index : " << currentIndex << " or in binary " << MortonToBinary(currentIndex,NbLevels-1) << std::endl;
// std::cout << "Particles :" << std::endl;
typename ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
while( iter.hasNotFinished() ){
iter.data().setMortonIndex(currentIndex);
// iter.data().mortonIndex() = currentIndex ;
......
......@@ -93,7 +93,7 @@ int main(int argc, char ** argv){
OctreeClass::Iterator octreeIterator(&tree);
octreeIterator.gotoBottomLeft();
do{
typename ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
while( iter.hasNotFinished() ){
iter.data().setPosition(
......@@ -134,7 +134,7 @@ int main(int argc, char ** argv){
OctreeClass::Iterator octreeIterator(&tree);
octreeIterator.gotoBottomLeft();
do{
typename ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
const MortonIndex leafIndex = octreeIterator.getCurrentGlobalIndex();
......
......@@ -102,7 +102,7 @@ int main(int argc, char ** argv){
octreeIterator.gotoBottomLeft();
do{
typename ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
while( iter.hasNotFinished() ){
if(FReal(rand())/FRandMax > 0.5){
......@@ -148,7 +148,7 @@ int main(int argc, char ** argv){
do{
const MortonIndex leafIndex = octreeIterator.getCurrentGlobalIndex();
typename ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator iter(*octreeIterator.getCurrentListTargets());
while( iter.hasNotFinished() ){
const MortonIndex particleIndex = tree.getMortonFromPosition( iter.data().getPosition() );
......
......@@ -146,7 +146,7 @@ class TestSphericalDirectPeriodic : public FUTester<TestSphericalDirectPeriodic>
octreeIterator.gotoBottomLeft();
do{
typename ContainerClass::BasicIterator leafIter(*octreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator leafIter(*octreeIterator.getCurrentListTargets());
while( leafIter.hasNotFinished() ){
const ParticleClass& other = particles[((4 * (octreeIterator.getCurrentGlobalCoordinate().getX()+1)) +
......@@ -309,7 +309,7 @@ class TestSphericalDirectPeriodic : public FUTester<TestSphericalDirectPeriodic>
octreeIterator.gotoBottomLeft();
do{
typename ContainerClass::BasicIterator leafIter(*octreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator leafIter(*octreeIterator.getCurrentListTargets());
while( leafIter.hasNotFinished() ){
const ParticleClass& other = partBox[leafIter.data().getIndex()];
......@@ -418,11 +418,11 @@ class TestSphericalDirectPeriodic : public FUTester<TestSphericalDirectPeriodic>
const int NbBoxPerPeriodicSide = 6 * PeriodicDeep;
const int directNbPart = NbPart * NbBoxPerPeriodicSide * NbBoxPerPeriodicSide * NbBoxPerPeriodicSide;
typename TestOctreeClass::Iterator octreeIterator(&tree);
TestOctreeClass::Iterator octreeIterator(&tree);
octreeIterator.gotoBottomLeft();
do{
typename TestContainerClass::BasicIterator leafIter(*octreeIterator.getCurrentListTargets());
TestContainerClass::BasicIterator leafIter(*octreeIterator.getCurrentListTargets());
while( leafIter.hasNotFinished() ){
uassert(leafIter.data().getDataDown() == directNbPart - 1);// todo delete
......
......@@ -103,8 +103,8 @@ class TestSphericalWithPrevious : public FUTester<TestSphericalWithPrevious> {
break;
}
typename ContainerClass::BasicIterator goodIter(*goodOctreeIterator.getCurrentListTargets());
typename ContainerClass::BasicIterator testIter(*testOctreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator goodIter(*goodOctreeIterator.getCurrentListTargets());
ContainerClass::BasicIterator testIter(*testOctreeIterator.getCurrentListTargets());
while( goodIter.hasNotFinished() ){
uassert( IsSimilar(goodIter.data().getPotential(), testIter.data().getPotential()) );
......
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