Commit 78eda239 authored by pscrozi's avatar pscrozi
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2917 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 42f18bf0
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -34,6 +34,11 @@ FixHeat::FixHeat(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg)
{
  if (narg < 4) error->all("Illegal fix heat command");

  scalar_flag = 1;
  scalar_vector_freq = 1;
  extscalar = 0;
  r = 1.0;

  nevery = atoi(arg[3]);
  if (nevery <= 0) error->all("Illegal fix heat command");