Skip to content

Commit 964865e

Browse files
committed
sync with upstream
1 parent 63e206c commit 964865e

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

USER-REBOMOS/pair_rebomos.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,12 +1064,6 @@ void PairREBOMoS::read_file(char *filename)
10641064
rcLJmax[0][1] = 2.5*sigma[0][1];
10651065
rcLJmax[1][0] = rcLJmax[0][1];
10661066
rcLJmax[1][1] = 2.5*sigma[1][1];
1067-
1068-
rcLJmaxsq[0][0] = rcLJmax[0][0]*rcLJmax[0][0];
1069-
rcLJmaxsq[1][0] = rcLJmax[1][0]*rcLJmax[1][0];
1070-
rcLJmaxsq[0][1] = rcLJmax[0][1]*rcLJmax[0][1];
1071-
rcLJmaxsq[1][1] = rcLJmax[1][1]*rcLJmax[1][1];
1072-
10731067
}
10741068

10751069
// broadcast read-in and setup values
@@ -1108,7 +1102,6 @@ void PairREBOMoS::read_file(char *filename)
11081102

11091103
MPI_Bcast(&rcLJmin[0][0],4,MPI_DOUBLE,0,world);
11101104
MPI_Bcast(&rcLJmax[0][0],4,MPI_DOUBLE,0,world);
1111-
MPI_Bcast(&rcLJmaxsq[0][0],4,MPI_DOUBLE,0,world);
11121105
MPI_Bcast(&epsilon[0][0],4,MPI_DOUBLE,0,world);
11131106
MPI_Bcast(&sigma[0][0],4,MPI_DOUBLE,0,world);
11141107
}

USER-REBOMOS/pair_rebomos.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ PairStyle(rebomos,PairREBOMoS);
2020
#ifndef LMP_PAIR_REBOMOS_H
2121
#define LMP_PAIR_REBOMOS_H
2222

23-
#include "pair.h"
2423
#include "math_const.h"
24+
#include "pair.h"
2525

2626
#include <cmath>
2727

@@ -39,9 +39,6 @@ class PairREBOMoS : public Pair {
3939
double memory_usage() override;
4040

4141
protected:
42-
double cutljrebosq; // cut for when to compute
43-
// REBO neighs of ghost atoms
44-
4542
double **lj1, **lj2, **lj3, **lj4; // pre-computed LJ coeffs for M,S types
4643
double cut3rebo; // maximum distance for 3rd REBO neigh
4744

@@ -52,15 +49,14 @@ class PairREBOMoS : public Pair {
5249
int *REBO_numneigh; // # of pair neighbors for each atom
5350
int **REBO_firstneigh; // ptr to 1st neighbor of each atom
5451

55-
double *closestdistsq; // closest owned atom dist to each ghost
5652
double *nM, *nS; // sum of weighting fns with REBO neighs
5753

5854
double rcmin[2][2], rcmax[2][2], rcmaxsq[2][2], rcmaxp[2][2];
5955
double Q[2][2], alpha[2][2], A[2][2], BIJc[2][2], Beta[2][2];
6056
double b0[2], b1[2], b2[2], b3[2], b4[2], b5[2], b6[2];
6157
double bg0[2], bg1[2], bg2[2], bg3[2], bg4[2], bg5[2], bg6[2];
6258
double a0[2], a1[2], a2[2], a3[2];
63-
double rcLJmin[2][2], rcLJmax[2][2], rcLJmaxsq[2][2];
59+
double rcLJmin[2][2], rcLJmax[2][2];
6460
double epsilon[2][2], sigma[2][2];
6561

6662
void REBO_neigh();

0 commit comments

Comments
 (0)