remove whitespace

This commit is contained in:
tomswinburne
2021-07-06 10:33:28 +02:00
parent a8be4ca4b8
commit ee751cf040

View File

@ -65,7 +65,6 @@ PairSNAP::~PairSNAP()
memory->destroy(beta);
memory->destroy(bispectrum);
delete snaptr;
if (allocated) {
@ -180,21 +179,15 @@ void PairSNAP::compute(int eflag, int vflag)
snaptr->compute_deidrj(fij);
// scaling
fij[0] *= scale[itype][itype];
fij[1] *= scale[itype][itype];
fij[2] *= scale[itype][itype];
f[i][0] += fij[0];
f[i][1] += fij[1];
f[i][2] += fij[2];
f[j][0] -= fij[0];
f[j][1] -= fij[1];
f[j][2] -= fij[2];
f[i][0] += fij[0] * scale[itype][itype];
f[i][1] += fij[1] * scale[itype][itype];
f[i][2] += fij[2] * scale[itype][itype];
f[j][0] -= fij[0] * scale[itype][itype];
f[j][1] -= fij[1] * scale[itype][itype];
f[j][2] -= fij[2] * scale[itype][itype];
// tally per-atom virial contribution
if (vflag)
ev_tally_xyz(i,j,nlocal,newton_pair,0.0,0.0,
fij[0],fij[1],fij[2],
@ -385,7 +378,6 @@ void PairSNAP::settings(int narg, char ** /* arg */)
void PairSNAP::coeff(int narg, char **arg)
{
if (!allocated) allocate();
if (narg != 4 + atom->ntypes) error->all(FLERR,"Incorrect args for pair coefficients");
map_element2type(narg-4,arg+4);
@ -394,8 +386,6 @@ void PairSNAP::coeff(int narg, char **arg)
read_files(arg[2],arg[3]);
if (!quadraticflag)
ncoeff = ncoeffall - 1;
else {
@ -741,7 +731,6 @@ double PairSNAP::memory_usage()
return bytes;
}
void *PairSNAP::extract(const char *str, int &dim)
{
dim = 2;