Trying to find the difference in the neighbor list build in hippo vs amoeba

This commit is contained in:
Trung Nguyen
2021-09-27 11:35:35 -05:00
parent 7437c98628
commit 2efd841a7e
6 changed files with 114 additions and 62 deletions

View File

@ -430,8 +430,8 @@ int** HippoT::compute_multipole_real(const int ago, const int inum_full,
// leave the answers (forces, energies and virial) on the device,
// only copy them back in the last kernel (this one, or polar_real once done)
//this->ans->copy_answers(eflag_in,vflag_in,eatom,vatom,red_blocks);
//this->device->add_ans_object(this->ans);
this->ans->copy_answers(eflag_in,vflag_in,eatom,vatom,red_blocks);
this->device->add_ans_object(this->ans);
this->hd_balancer.stop_timer();
@ -444,7 +444,7 @@ int** HippoT::compute_multipole_real(const int ago, const int inum_full,
numtyp4* p = (numtyp4*)(&this->_tep[4*i]);
printf("i = %d; tep = %f %f %f\n", i, p->x, p->y, p->z);
}
*/
*/
return firstneigh; // nbor->host_jlist.begin()-host_start;
}