git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11018 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -318,6 +318,9 @@ void FixQEqReax::init()
|
|||||||
{
|
{
|
||||||
if (!atom->q_flag) error->all(FLERR,"Fix qeq/reax requires atom attribute q");
|
if (!atom->q_flag) error->all(FLERR,"Fix qeq/reax requires atom attribute q");
|
||||||
|
|
||||||
|
if (!force->pair_match("reax/c",1))
|
||||||
|
error->all(FLERR,"Must use pair_style reax/c with fix qeq/reax");
|
||||||
|
|
||||||
// need a half neighbor list w/ Newton off and ghost neighbors
|
// need a half neighbor list w/ Newton off and ghost neighbors
|
||||||
// built whenever re-neighboring occurs
|
// built whenever re-neighboring occurs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user