Commit 9af08f2d authored by Steve Plimpton's avatar Steve Plimpton
Browse files

small change for atom_style mdpd

parent f51ee406
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -55,6 +55,8 @@ AtomVecMDPD::AtomVecMDPD(LAMMPS *lmp) : AtomVec(lmp)

void AtomVecMDPD::init()
{
  AtomVec::init();

  if (strcmp(update->unit_style,"lj") != 0)
    error->all(FLERR,"Atom style mdpd requires lj units");
}