Commit 4e0c835e authored by Tom Swinburne's avatar Tom Swinburne
Browse files

fixed dimension in error message

parent 95e81c7e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1906,7 +1906,7 @@ Doc page with :doc:`WARNING messages <Errors_warnings>`
*Compute for fix pafi does not calculate a local array*
   Self-explanatory.

*Compute for fix pafi has < 3*DIM fields per atom*
*Compute for fix pafi must have 9 fields per atom*
   Self-explanatory.

*Compute gyration ID does not exist for compute gyration/shape*
+5 −4
Original line number Diff line number Diff line
@@ -88,8 +88,9 @@ FixPAFI::FixPAFI(LAMMPS *lmp, int narg, char **arg) :
  PathCompute = modify->compute[icompute];
  if (PathCompute->peratom_flag==0)
    error->all(FLERR,"Compute for fix pafi does not calculate a local array");
  if (PathCompute->size_peratom_cols < domain->dimension*3)
    error->all(FLERR,"Compute for fix pafi has < DIM fields per atom");
  if (PathCompute->size_peratom_cols < 9)
    error->all(FLERR,"Compute for fix pafi must have 9 fields per atom");
");

  if (comm->me==0) {
    if (screen) fprintf(screen,
@@ -199,8 +200,8 @@ void FixPAFI::init()
  PathCompute = modify->compute[icompute];
  if (PathCompute->peratom_flag==0)
    error->all(FLERR,"Compute for fix pafi does not calculate a local array");
  if (PathCompute->size_peratom_cols < domain->dimension*3)
    error->all(FLERR,"Compute for fix pafi has < 3*DIM fields per atom");
  if (PathCompute->size_peratom_cols < 9)
    error->all(FLERR,"Compute for fix pafi must have 9 fields per atom");