git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@11162 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -474,12 +474,16 @@ void PairGranHookeHistory::init_style()
|
||||
int itype;
|
||||
for (i = 1; i <= atom->ntypes; i++) {
|
||||
onerad_dynamic[i] = onerad_frozen[i] = 0.0;
|
||||
if (ipour >= 0)
|
||||
if (ipour >= 0) {
|
||||
itype = i;
|
||||
onerad_dynamic[i] =
|
||||
*((double *) modify->fix[ipour]->extract("radius",itype));
|
||||
if (idep >= 0)
|
||||
}
|
||||
if (idep >= 0) {
|
||||
itype = i;
|
||||
onerad_dynamic[i] =
|
||||
*((double *) modify->fix[idep]->extract("radius",itype));
|
||||
}
|
||||
}
|
||||
|
||||
double *radius = atom->radius;
|
||||
|
||||
Reference in New Issue
Block a user