forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5787 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
fbbb8a07eb
commit
e09df28b92
|
@ -98,10 +98,7 @@ int FixEfield::setmask()
|
|||
|
||||
void FixEfield::init()
|
||||
{
|
||||
// require an atom style with charge defined
|
||||
|
||||
if (atom->q == NULL)
|
||||
error->all("Must use charged atom style with fix efield");
|
||||
if (!atom->q_flag) error->all("Fix efield requires atom attribute q");
|
||||
|
||||
// check variables
|
||||
|
||||
|
|
Loading…
Reference in New Issue