forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@4860 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
c1b687c17d
commit
37ed464f3d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue