minor changes

This commit is contained in:
Gurgen
2021-04-17 14:56:16 +03:00
parent 3e3f66adac
commit a91e904f34
4 changed files with 7 additions and 9 deletions

View File

@ -145,7 +145,7 @@ double LJSMOOTHT::host_memory_usage() const {
// Calculate energies, forces, and torques
// ---------------------------------------------------------------------------
template <class numtyp, class acctyp>
void LJSMOOTHT::loop(const bool _eflag, const bool _vflag) {
int LJSMOOTHT::loop(const bool _eflag, const bool _vflag) {
// Compute the block size and grid size to keep all cores busy
const int BX=this->block_size();
int eflag, vflag;
@ -183,4 +183,4 @@ void LJSMOOTHT::loop(const bool _eflag, const bool _vflag) {
}
template class LJSMOOTH<PRECISION,ACC_PRECISION>;
}
}