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

This commit is contained in:
pscrozi 2013-06-05 14:30:38 +00:00
parent 296e1695f1
commit 849a767dc6
2 changed files with 4 additions and 3 deletions

View File

@ -150,7 +150,8 @@ void MSM::init()
if (!atom->q_flag) error->all(FLERR,"Kspace style requires atom attribute q");
if (slabflag == 1) error->all(FLERR,"Slab correction not needed for MSM");
if ((slabflag == 1) && (me == 0))
error->warning(FLERR,"Slab correction not needed for MSM");
if (order < 4 || order > 10) {
char str[128];

View File

@ -161,9 +161,9 @@ E: Kspace style requires atom attribute q
The atom style defined does not have these attributes.
E: Slab correction not needed for MSM
W: Slab correction not needed for MSM
Slab correction can only be used with Ewald and PPPM and is not needed by MSM.
Slab correction is intended to be used with Ewald or PPPM and is not needed by MSM.
E: MSM order must be 4, 6, 8, or 10