git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5787 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2011-03-15 14:36:15 +00:00
parent fbbb8a07eb
commit e09df28b92
1 changed files with 1 additions and 4 deletions

View File

@ -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