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

This commit is contained in:
sjplimp 2010-09-27 16:28:49 +00:00
parent c1b687c17d
commit 37ed464f3d
1 changed files with 1 additions and 3 deletions

View File

@ -62,9 +62,7 @@ void ComputeTempDeformEff::dof_compute()
int nelectrons;
MPI_Allreduce(&one,&nelectrons,1,MPI_INT,MPI_SUM,world);
// the -3 recovers an extra_dof taken out because it's used by eradius
dof -= domain->dimension * nelectrons - 3;
dof -= domain->dimension * nelectrons;
if (dof > 0) tfactor = force->mvv2e / (dof * force->boltz);
else tfactor = 0.0;