silence compiler warnings
This commit is contained in:
@ -279,8 +279,7 @@ double BondBPM::equilibrium_distance(int /*i*/)
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
int type, j;
|
int type, j;
|
||||||
double delx, dely, delz, r;
|
double r;
|
||||||
double **x = atom->x;
|
|
||||||
for (int i = 0; i < atom->nlocal; i++) {
|
for (int i = 0; i < atom->nlocal; i++) {
|
||||||
for (int m = 0; m < atom->num_bond[i]; m++) {
|
for (int m = 0; m < atom->num_bond[i]; m++) {
|
||||||
type = atom->bond_type[i][m];
|
type = atom->bond_type[i][m];
|
||||||
|
|||||||
@ -35,7 +35,7 @@ class FixGCMC : public Fix {
|
|||||||
double memory_usage() override;
|
double memory_usage() override;
|
||||||
void write_restart(FILE *) override;
|
void write_restart(FILE *) override;
|
||||||
void restart(char *) override;
|
void restart(char *) override;
|
||||||
void *extract(const char *, int &);
|
void *extract(const char *, int &) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int molecule_group, molecule_group_bit;
|
int molecule_group, molecule_group_bit;
|
||||||
|
|||||||
@ -84,7 +84,7 @@ FixPair::FixPair(LAMMPS *lmp, int narg, char **arg) :
|
|||||||
|
|
||||||
for (int ifield = 0; ifield < nfield; ifield++) {
|
for (int ifield = 0; ifield < nfield; ifield++) {
|
||||||
int columns = 0; // set in case fieldname not recognized by pstyle
|
int columns = 0; // set in case fieldname not recognized by pstyle
|
||||||
void *pvoid = pstyle->extract_peratom(fieldname[ifield],columns);
|
pstyle->extract_peratom(fieldname[ifield],columns);
|
||||||
if (columns) ncols += columns;
|
if (columns) ncols += columns;
|
||||||
else ncols++;
|
else ncols++;
|
||||||
if (trigger[ifield]) {
|
if (trigger[ifield]) {
|
||||||
|
|||||||
@ -84,7 +84,7 @@ void FixUpdateSpecialBonds::setup(int /*vflag*/)
|
|||||||
|
|
||||||
void FixUpdateSpecialBonds::pre_exchange()
|
void FixUpdateSpecialBonds::pre_exchange()
|
||||||
{
|
{
|
||||||
int i, j, m, n1, n3;
|
int i, j, m, n1;
|
||||||
tagint tagi, tagj;
|
tagint tagi, tagj;
|
||||||
int nlocal = atom->nlocal;
|
int nlocal = atom->nlocal;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user