Remove unused ngroup calc

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@13595 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
athomps 2015-07-15 16:36:14 +00:00
parent f393d0160a
commit dba2abcba3
2 changed files with 0 additions and 11 deletions

View File

@ -449,15 +449,6 @@ void PairReaxC::setup( )
ReAllocate( system, control, data, workspace, &lists, mpi_data );
}
ngroup = 0;
int ngroup_sum = 0;
for (int i = 0; i < list->inum; i++) {
ngroup ++;
}
MPI_Allreduce( &ngroup, &ngroup_sum, 1, MPI_INT, MPI_SUM, world );
ngroup = ngroup_sum;
}
/* ---------------------------------------------------------------------- */

View File

@ -57,8 +57,6 @@ class PairReaxC : public Pair {
reax_list *lists;
mpi_datatypes *mpi_data;
bigint ngroup;
private:
double cutmax;
int nelements; // # of unique elements