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

This commit is contained in:
sjplimp
2011-01-11 00:41:00 +00:00
parent 4bc2d6f332
commit 82ec94916d
79 changed files with 458 additions and 315 deletions

View File

@ -15,6 +15,7 @@
#include "math.h"
#include "stdlib.h"
#include "improper_harmonic.h"
#include "lmptype.h"
#include "atom.h"
#include "comm.h"
#include "neighbor.h"
@ -121,9 +122,9 @@ void ImproperHarmonic::compute(int eflag, int vflag)
int me;
MPI_Comm_rank(world,&me);
if (screen) {
char str[128];
sprintf(str,"Improper problem: %d %d %d %d %d %d",
me,update->ntimestep,
char str[128],fstr[64];
sprintf(fstr,"Improper problem: %%d %s %%d %%d %%d %%d",BIGINT_FORMAT);
sprintf(str,fstr,me,update->ntimestep,
atom->tag[i1],atom->tag[i2],atom->tag[i3],atom->tag[i4]);
error->warning(str,0);
fprintf(screen," 1st atom: %d %g %g %g\n",