Commit 0316bb57 authored by sjplimp's avatar sjplimp Committed by GitHub
Browse files

Merge pull request #3 from akohlmey/fix-flow-gauss

Fix flow/gauss for USER-MISC package
parents f89448d7 4e03df2d
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ FixFlowGauss::FixFlowGauss(LAMMPS *lmp, int narg, char **arg) :
    if ( strcmp(arg[iarg],"energy") == 0 ) {
      if ( iarg+2 > narg ) error->all(FLERR,"Illegal energy keyword");
      if ( strcmp(arg[iarg+1],"yes") == 0 ) workflag = 1;
      else if ( strcmp(arg[iarg+1],"no") == 1 ) 
      else if ( strcmp(arg[iarg+1],"no") != 0 )
        error->all(FLERR,"Illegal energy keyword");
      iarg += 2;
    } else error->all(FLERR,"Illegal fix flow/gauss command");
@@ -136,7 +136,6 @@ void FixFlowGauss::setup(int vflag)
void FixFlowGauss::post_force(int vflag)
{
  double **f   = atom->f;
  double **x   = atom->x;
  double **v   = atom->v;

  int *mask    = atom->mask;