forked from lijiext/lammps
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:
parent
f393d0160a
commit
dba2abcba3
|
@ -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;
|
||||
|
||||
}
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue