From 54f2a2ae4b18a1a151ad5e392baa72bb3a8ee02c Mon Sep 17 00:00:00 2001 From: sjplimp <sjplimp@f3b2605a-c512-4ea7-a41b-209d697bcdaa> Date: Fri, 15 Nov 2013 21:59:29 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11018 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/USER-REAXC/fix_qeq_reax.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/USER-REAXC/fix_qeq_reax.cpp b/src/USER-REAXC/fix_qeq_reax.cpp index d41e8f1543..e3993678cb 100644 --- a/src/USER-REAXC/fix_qeq_reax.cpp +++ b/src/USER-REAXC/fix_qeq_reax.cpp @@ -318,6 +318,9 @@ void FixQEqReax::init() { 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 // built whenever re-neighboring occurs -- GitLab