More cleaning up

This commit is contained in:
Trung Nguyen
2021-09-13 13:47:15 -05:00
parent 76794bef58
commit a21095fded
2 changed files with 3 additions and 4 deletions

View File

@ -137,7 +137,8 @@ int AmoebaT::udirect2b(const int eflag, const int vflag) {
// Compute the block size and grid size to keep all cores busy
const int BX=this->block_size();
int GX=static_cast<int>(ceil(static_cast<double>(this->ans->inum())/(BX/this->_threads_per_atom)));
int GX=static_cast<int>(ceil(static_cast<double>(this->ans->inum())/
(BX/this->_threads_per_atom)));
// Build the short neighbor list if not done yet
if (!this->short_nbor_avail) {

View File

@ -279,9 +279,7 @@ void PairAmoeba::induce()
crstyle = FIELD;
comm->reverse_comm_pair(this);
for (int i = 0; i < 10; i++) {
printf("i = %d; fieldp = %f %f %f\n", i, fieldp[i][0], fieldp[i][1], fieldp[i][2]);
}
//error->all(FLERR,"STOP CPU");
/*
if (comm->me == 0) {