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

This commit is contained in:
sjplimp
2013-02-12 23:09:54 +00:00
parent ab6e341dd9
commit 5c635d47eb
21 changed files with 75 additions and 21 deletions

View File

@ -187,6 +187,16 @@ void ComputeTempProfile::init()
/* ---------------------------------------------------------------------- */
void ComputeTempProfile::setup()
{
fix_dof = 0;
for (int i = 0; i < modify->nfix; i++)
fix_dof += modify->fix[i]->dof(igroup);
dof_compute();
}
/* ---------------------------------------------------------------------- */
void ComputeTempProfile::dof_compute()
{
double natoms = group->count(igroup);