Merge pull request #875 from akohlmey/collected-small-fixes
Collected small changes and bug fixes for the next patch release
This commit is contained in:
@ -343,3 +343,13 @@ void ImproperFourier::read_restart(FILE *fp)
|
||||
|
||||
for (int i = 1; i <= atom->nimpropertypes; i++) setflag[i] = 1;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------------
|
||||
proc 0 writes to data file
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
void ImproperFourier::write_data(FILE *fp)
|
||||
{
|
||||
for (int i = 1; i <= atom->nimpropertypes; i++)
|
||||
fprintf(fp,"%d %g %g %g %g %d\n",i,k[i],C0[i],C1[i],C2[i],all[i]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user