Misc patches and missed changes
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
Contributing author: Pieter in 't Veld (SNL), Joel Clemmer (SNL)
|
||||
Contributing author: Pieter in 't Veld (SNL)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#include "fix_deform.h"
|
||||
@ -759,7 +759,7 @@ void FixDeform::apply_deformation()
|
||||
if (mask[i] & groupbit)
|
||||
domain->x2lamda(x[i], x[i]);
|
||||
|
||||
for (auto ifix : rfix)
|
||||
for (auto &ifix : rfix)
|
||||
ifix->deform(0);
|
||||
}
|
||||
|
||||
@ -798,7 +798,7 @@ void FixDeform::apply_deformation()
|
||||
if (mask[i] & groupbit)
|
||||
domain->lamda2x(x[i], x[i]);
|
||||
|
||||
for (auto ifix : rfix)
|
||||
for (auto &ifix : rfix)
|
||||
ifix->deform(1);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user