forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5534 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
c2b29e6caa
commit
0e342bae42
|
@ -840,7 +840,6 @@ void bifactor(int n, int *factor1, int *factor2)
|
|||
{
|
||||
int n1,n2,facmax;
|
||||
|
||||
//facmax = static_cast<int> (sqrt((double) n));
|
||||
facmax = static_cast<int> (sqrt(n));
|
||||
|
||||
for (n1 = facmax; n1 > 0; n1--) {
|
||||
|
|
|
@ -122,7 +122,7 @@ void FixReaxBonds::OutputReaxBonds(bigint ntimestep, FILE *fp)
|
|||
|
||||
if (me == 0) {
|
||||
char fstr[32];
|
||||
sprintf(fstr,"# Timestep %d \n",BIGINT_FORMAT);
|
||||
sprintf(fstr,"# Timestep %s \n",BIGINT_FORMAT);
|
||||
fprintf(fp,fstr,ntimestep);
|
||||
fprintf(fp,"# \n");
|
||||
fprintf(fp,"# Number of particles %d \n",nparticles_tot);
|
||||
|
|
Loading…
Reference in New Issue