Fix unused params in GRANULAR ()

This commit is contained in:
Daniel Schwen 2018-08-23 12:26:51 -06:00
parent 1abeec3a43
commit fd6792c6be
6 changed files with 15 additions and 15 deletions

View File

@ -83,7 +83,7 @@ void FixFreeze::setup(int vflag)
/* ---------------------------------------------------------------------- */
void FixFreeze::post_force(int vflag)
void FixFreeze::post_force(int /*vflag*/)
{
double **f = atom->f;
double **torque = atom->torque;
@ -110,7 +110,7 @@ void FixFreeze::post_force(int vflag)
/* ---------------------------------------------------------------------- */
void FixFreeze::post_force_respa(int vflag, int ilevel, int iloop)
void FixFreeze::post_force_respa(int vflag, int /*ilevel*/, int /*iloop*/)
{
post_force(vflag);
}

View File

@ -302,7 +302,7 @@ void FixWallGran::setup(int vflag)
/* ---------------------------------------------------------------------- */
void FixWallGran::post_force(int vflag)
void FixWallGran::post_force(int /*vflag*/)
{
int i,j;
double dx,dy,dz,del1,del2,delxy,delr,rsq,rwall,meff;
@ -446,7 +446,7 @@ void FixWallGran::post_force(int vflag)
/* ---------------------------------------------------------------------- */
void FixWallGran::post_force_respa(int vflag, int ilevel, int iloop)
void FixWallGran::post_force_respa(int vflag, int ilevel, int /*iloop*/)
{
if (ilevel == nlevels_respa-1) post_force(vflag);
}
@ -1041,7 +1041,7 @@ void FixWallGran::grow_arrays(int nmax)
copy values within local atom-based arrays
------------------------------------------------------------------------- */
void FixWallGran::copy_arrays(int i, int j, int delflag)
void FixWallGran::copy_arrays(int i, int j, int /*delflag*/)
{
if (history)
for (int m = 0; m < sheardim; m++)
@ -1136,7 +1136,7 @@ int FixWallGran::maxsize_restart()
size of atom nlocal's restart data
------------------------------------------------------------------------- */
int FixWallGran::size_restart(int nlocal)
int FixWallGran::size_restart(int /*nlocal*/)
{
if (!history) return 0;
return 1 + sheardim;

View File

@ -130,7 +130,7 @@ void FixWallGranRegion::init()
/* ---------------------------------------------------------------------- */
void FixWallGranRegion::post_force(int vflag)
void FixWallGranRegion::post_force(int /*vflag*/)
{
int i,m,nc,iwall;
double dx,dy,dz,rsq,meff;
@ -347,7 +347,7 @@ void FixWallGranRegion::grow_arrays(int nmax)
copy values within local atom-based arrays
------------------------------------------------------------------------- */
void FixWallGranRegion::copy_arrays(int i, int j, int delflag)
void FixWallGranRegion::copy_arrays(int i, int j, int /*delflag*/)
{
int m,n,iwall;

View File

@ -306,9 +306,9 @@ void PairGranHertzHistory::settings(int narg, char **arg)
/* ---------------------------------------------------------------------- */
double PairGranHertzHistory::single(int i, int j, int itype, int jtype,
double PairGranHertzHistory::single(int i, int j, int /*itype*/, int /*jtype*/,
double rsq,
double factor_coul, double factor_lj,
double /*factor_coul*/, double /*factor_lj*/,
double &fforce)
{
double radi,radj,radsum;

View File

@ -219,8 +219,8 @@ void PairGranHooke::compute(int eflag, int vflag)
/* ---------------------------------------------------------------------- */
double PairGranHooke::single(int i, int j, int itype, int jtype, double rsq,
double factor_coul, double factor_lj,
double PairGranHooke::single(int i, int j, int /*itype*/, int /*jtype*/, double rsq,
double /*factor_coul*/, double /*factor_lj*/,
double &fforce)
{
double radi,radj,radsum,r,rinv,rsqinv;

View File

@ -587,9 +587,9 @@ void PairGranHookeHistory::reset_dt()
/* ---------------------------------------------------------------------- */
double PairGranHookeHistory::single(int i, int j, int itype, int jtype,
double PairGranHookeHistory::single(int i, int j, int /*itype*/, int /*jtype*/,
double rsq,
double factor_coul, double factor_lj,
double /*factor_coul*/, double /*factor_lj*/,
double &fforce)
{
double radi,radj,radsum;
@ -746,7 +746,7 @@ double PairGranHookeHistory::single(int i, int j, int itype, int jtype,
/* ---------------------------------------------------------------------- */
int PairGranHookeHistory::pack_forward_comm(int n, int *list, double *buf,
int pbc_flag, int *pbc)
int /*pbc_flag*/, int */*pbc*/)
{
int i,j,m;