Commits

Rio Yokota committed ae8a3cc

Remove dipole correction from Ewald.

  • Participants
  • Parent commits a4ad09d

Comments (0)

Files changed (1)

kernel/CPUEwaldLaplace.cxx

     for( int d=0; d<3; d++ ) B->TRG[d+1] *= scale;
   }
 
+#if 0
   vect dipole = 0;
   for( B_iter B=bodies.begin(); B!=bodies.end(); ++B ) {
     dipole += (B->X - R0) * B->SRC;
       B->TRG[d+1] += coef * dipole[d];
     }
   }
+#endif
 }