From 259bcfba1f73a91a3ce656d740730cd32e32df2a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Thu, 29 Feb 2024 22:45:32 -0500 Subject: [PATCH] remove one more unused class member --- src/MANYBODY/pair_rebomos.cpp | 7 ------- src/MANYBODY/pair_rebomos.h | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/MANYBODY/pair_rebomos.cpp b/src/MANYBODY/pair_rebomos.cpp index d6cea004a7..a84469f212 100644 --- a/src/MANYBODY/pair_rebomos.cpp +++ b/src/MANYBODY/pair_rebomos.cpp @@ -1064,12 +1064,6 @@ void PairREBOMoS::read_file(char *filename) rcLJmax[0][1] = 2.5*sigma[0][1]; rcLJmax[1][0] = rcLJmax[0][1]; rcLJmax[1][1] = 2.5*sigma[1][1]; - - rcLJmaxsq[0][0] = rcLJmax[0][0]*rcLJmax[0][0]; - rcLJmaxsq[1][0] = rcLJmax[1][0]*rcLJmax[1][0]; - rcLJmaxsq[0][1] = rcLJmax[0][1]*rcLJmax[0][1]; - rcLJmaxsq[1][1] = rcLJmax[1][1]*rcLJmax[1][1]; - } // broadcast read-in and setup values @@ -1108,7 +1102,6 @@ void PairREBOMoS::read_file(char *filename) MPI_Bcast(&rcLJmin[0][0],4,MPI_DOUBLE,0,world); MPI_Bcast(&rcLJmax[0][0],4,MPI_DOUBLE,0,world); - MPI_Bcast(&rcLJmaxsq[0][0],4,MPI_DOUBLE,0,world); MPI_Bcast(&epsilon[0][0],4,MPI_DOUBLE,0,world); MPI_Bcast(&sigma[0][0],4,MPI_DOUBLE,0,world); } diff --git a/src/MANYBODY/pair_rebomos.h b/src/MANYBODY/pair_rebomos.h index 33c967a760..856a52ca81 100644 --- a/src/MANYBODY/pair_rebomos.h +++ b/src/MANYBODY/pair_rebomos.h @@ -56,7 +56,7 @@ class PairREBOMoS : public Pair { double b0[2], b1[2], b2[2], b3[2], b4[2], b5[2], b6[2]; double bg0[2], bg1[2], bg2[2], bg3[2], bg4[2], bg5[2], bg6[2]; double a0[2], a1[2], a2[2], a3[2]; - double rcLJmin[2][2], rcLJmax[2][2], rcLJmaxsq[2][2]; + double rcLJmin[2][2], rcLJmax[2][2]; double epsilon[2][2], sigma[2][2]; void REBO_neigh();