fix issue with rRESPA inner/middle neighbor lists

This commit is contained in:
Steve Plimpton
2017-06-21 15:12:51 -06:00
parent e69ef56f10
commit 1fc2eb1e3e
4 changed files with 11 additions and 4 deletions

View File

@ -1268,9 +1268,11 @@ void Neighbor::morph_copy()
if (irq->ghost && !jrq->ghost) continue;
// do not copy from a history list
// do not copy from a history list or a respa middle/inner list
if (jrq->history) continue;
if (jrq->respamiddle) continue;
if (jrq->respainner) continue;
// these flags must be same,
// else 2 lists do not store same pairs