git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@638 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -109,8 +109,7 @@ void PPPM::init()
|
||||
error->all("Cannot (yet) use PPPM with triclinic box");
|
||||
if (force->dimension == 2) error->all("Cannot use PPPM with 2d simulation");
|
||||
|
||||
if (atom->q == NULL)
|
||||
error->all("Must use charged atom style with kspace style");
|
||||
if (!atom->q_flag) error->all("Kspace style requires atom attribute q");
|
||||
|
||||
if (slabflag == 0 && domain->nonperiodic > 0)
|
||||
error->all("Cannot use nonperiodic boundaries with PPPM");
|
||||
|
||||
Reference in New Issue
Block a user