Commit af0eb524 authored by Stan Moore's avatar Stan Moore
Browse files

Error out if using fix pour with the KOKKOS package

parent a49f946f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -53,6 +53,8 @@ FixPour::FixPour(LAMMPS *lmp, int narg, char **arg) :
{
  if (narg < 6) error->all(FLERR,"Illegal fix pour command");

  if (lmp->kokkos) error->all(FLERR,"Cannot yet use fix pour with the KOKKOS package");

  time_depend = 1;

  if (!atom->radius_flag || !atom->rmass_flag)
+4 −0
Original line number Diff line number Diff line
@@ -89,6 +89,10 @@ Self-explanatory. Check the input script syntax and compare to the
documentation for the command.  You can use -echo screen as a
command-line option when running LAMMPS to see the offending line.

E: Cannot yet use fix pour with the KOKKOS package

This feature is not yet supported.

E: Fix pour requires atom attributes radius, rmass

The atom style defined does not have these attributes.