Commit 1e473205 authored by berenger-bramas's avatar berenger-bramas

Tests for the block blas kernel.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@423 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 3b6650ac
......@@ -75,7 +75,7 @@ public:
downardPass();
directPass();
directPass();
}
private:
......
......@@ -202,7 +202,7 @@ public:
*/
void P2P(const FTreeCoordinate& inLeafPosition,
ContainerClass* const FRestrict targets, const ContainerClass* const FRestrict sources,
ContainerClass* const directNeighborsParticles[27], const int size){
ContainerClass* const directNeighborsParticles[27], const int /*size*/){
if( periodicLevels == 0 && targets == sources ){
P2PNoTsm(targets, directNeighborsParticles);
......
......@@ -72,7 +72,6 @@ protected:
else{
(*fillTransfer) = blasHarmonic.result()[blasHarmonic.getPreExpRedirJ(M+N)+k];
}
}
}
}
......@@ -122,7 +121,7 @@ public:
/** M2L with a cell and all the existing neighbors */
void M2L(CellClass* const FRestrict pole, const CellClass* distantNeighbors[343],
const int /*size*/, const int inLevel) {
const int /*size*/, const int inLevel) {
// For all neighbors compute M2L
for(int idxNeigh = 0 ; idxNeigh < 343 ; ++idxNeigh){
if( distantNeighbors[idxNeigh] ){
......@@ -191,13 +190,7 @@ public:
(FReal*)M2L_Outer_transfer,
(FReal*)temporaryMultiSource,
(FReal*)local_exp);
// TODO delete
static int count = 0;
if( FMath::IsNan(local_exp[CellClass::GetLocalSize()-1].getReal()) && count != -1){
std::cout << "count is " << count << std::endl;
count = -1;
}
if(count != -1) count++;
}
};
......
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