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

This commit is contained in:
sjplimp
2013-04-08 23:38:00 +00:00
parent 5563cb6124
commit b6df7c873b
14 changed files with 72 additions and 3 deletions

View File

@ -244,6 +244,16 @@ void AngleFourierSimple::read_restart(FILE *fp)
for (int i = 1; i <= atom->nangletypes; i++) setflag[i] = 1;
}
/* ----------------------------------------------------------------------
proc 0 writes to data file
------------------------------------------------------------------------- */
void AngleFourierSimple::write_data(FILE *fp)
{
for (int i = 1; i <= atom->nangletypes; i++)
fprintf(fp,"%d %g %g %g\n",i,k[i],C[i],N[i]);
}
/* ---------------------------------------------------------------------- */
double AngleFourierSimple::single(int type, int i1, int i2, int i3)