Unverified Commit 38b00326 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

silence compiler warnings about unused parameters in USER-OMP package

parent 24ff914e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ FixGravityOMP::FixGravityOMP(LAMMPS *lmp, int narg, char **arg) :

/* ---------------------------------------------------------------------- */

void FixGravityOMP::post_force(int vflag)
void FixGravityOMP::post_force(int /* vflag */)
{
  // update gravity due to variables

@@ -106,7 +106,7 @@ void FixGravityOMP::post_force(int vflag)

/* ---------------------------------------------------------------------- */

void FixGravityOMP::post_force_respa(int vflag, int ilevel, int iloop)
void FixGravityOMP::post_force_respa(int vflag, int ilevel, int /* iloop */)
{
  if (ilevel == ilevel_respa) post_force(vflag);
}
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@ FixNVEOMP::FixNVEOMP(LAMMPS *lmp, int narg, char **arg) :
   allow for both per-type and per-atom mass
------------------------------------------------------------------------- */

void FixNVEOMP::initial_integrate(int vflag)
void FixNVEOMP::initial_integrate(int /* vflag */)
{
  // update v and x of atoms in group

+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ enum{NODLM,DLM};

/* ---------------------------------------------------------------------- */

void FixNVESphereOMP::initial_integrate(int vflag)
void FixNVESphereOMP::initial_integrate(int /* vflag */)
{
  double * const * const x = atom->x;
  double * const * const v = atom->v;
+1 −1
Original line number Diff line number Diff line
@@ -73,7 +73,7 @@ void FixQEQCombOMP::init()

/* ---------------------------------------------------------------------- */

void FixQEQCombOMP::post_force(int vflag)
void FixQEQCombOMP::post_force(int /* vflag */)
{
  int i,ii,iloop,loopmax,inum,*ilist;
  double heatpq,qmass,dtq,dtq2;
+1 −1
Original line number Diff line number Diff line
@@ -275,7 +275,7 @@ void FixQEqReaxOMP::init_storage()

/* ---------------------------------------------------------------------- */

void FixQEqReaxOMP::pre_force(int vflag)
void FixQEqReaxOMP::pre_force(int /* vflag */)
{

#ifdef OMP_TIMING
Loading