make compute com and gyration compatible with dynamic groups
This commit is contained in:
@ -51,6 +51,7 @@ void ComputeCOM::init()
|
||||
void ComputeCOM::compute_vector()
|
||||
{
|
||||
invoked_vector = update->ntimestep;
|
||||
if (group->dynamic[igroup]) masstotal = group->mass(igroup);
|
||||
|
||||
group->xcm(igroup,masstotal,vector);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user