use ev_unset for all pair styles
This commit is contained in:
@ -80,9 +80,7 @@ PairList::~PairList()
|
||||
|
||||
void PairList::compute(int eflag, int vflag)
|
||||
{
|
||||
if (eflag || vflag) ev_setup(eflag,vflag);
|
||||
else evflag = vflag_fdotr = eflag_global =
|
||||
vflag_global = eflag_atom = vflag_atom = 0;
|
||||
ev_init(eflag,vflag);
|
||||
|
||||
const int nlocal = atom->nlocal;
|
||||
const int newton_pair = force->newton_pair;
|
||||
|
||||
Reference in New Issue
Block a user