Added warning about box dimesnions
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6942 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -401,6 +401,9 @@ void FixQEqReax::pre_force(int vflag)
|
||||
if (update->ntimestep % nevery) return;
|
||||
if( comm->me == 0 ) t_start = MPI_Wtime();
|
||||
|
||||
if (domain->xprd < swb || domain->yprd < swb || domain->zprd < swb)
|
||||
error->warning("FixQEqReax cutoff greater than periodic dimension");
|
||||
|
||||
n = atom->nlocal;
|
||||
N = atom->nlocal + atom->nghost;
|
||||
// grow arrays if necessary
|
||||
|
||||
Reference in New Issue
Block a user