minor changes
This commit is contained in:
@ -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;
|
||||
|
||||
@ -1,13 +1,13 @@
|
||||
/***************************************************************************
|
||||
lj_smooth.h
|
||||
-------------------
|
||||
W. Michael Brown (ORNL)
|
||||
G. Melikyan
|
||||
Class for acceleration of the lj/smooth pair style.
|
||||
__________________________________________________________________________
|
||||
This file is part of the LAMMPS Accelerator Library (LAMMPS_AL)
|
||||
__________________________________________________________________________
|
||||
begin :
|
||||
email : brownw@ornl.gov
|
||||
email : gkmelikyan@edu.hse.ru
|
||||
***************************************************************************/
|
||||
|
||||
#ifndef LAL_LJ_SMOOTH_H
|
||||
@ -83,7 +83,7 @@ class LJSMOOTH : public BaseAtomic<numtyp, acctyp> {
|
||||
|
||||
private:
|
||||
bool _allocated;
|
||||
void loop(const bool _eflag, const bool _vflag);
|
||||
int loop(const int _eflag, const int _vflag);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@ -142,5 +142,3 @@ void ljsmt_gpu_compute(const int ago, const int inum_full, const int nall,
|
||||
double ljsmt_gpu_bytes() {
|
||||
return LJSMTMF.host_memory_usage();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user