git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5520 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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",
|
||||
|
||||
Reference in New Issue
Block a user