From ccd395fdd896b6a2c14a6d16a5677eb6cc3ca84a Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 29 Jan 2020 14:34:03 -0500 Subject: [PATCH] remove dead code --- src/neighbor.cpp | 7 ------- src/neighbor.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/neighbor.cpp b/src/neighbor.cpp index b62945f116..3d1f37a03b 100644 --- a/src/neighbor.cpp +++ b/src/neighbor.cpp @@ -402,13 +402,6 @@ void Neighbor::init() } } - // maxwt = max multiplicative factor on atom indices stored in neigh list - - maxwt = 0; - if (special_flag[1] == 2) maxwt = 2; - if (special_flag[2] == 2) maxwt = 3; - if (special_flag[3] == 2) maxwt = 4; - // ------------------------------------------------------------------ // xhold array diff --git a/src/neighbor.h b/src/neighbor.h index 50de4b4c98..8fe423c60c 100644 --- a/src/neighbor.h +++ b/src/neighbor.h @@ -166,7 +166,6 @@ class Neighbor : protected Pointers { int maxatom; // max size of atom-based NeighList arrays int maxrequest; // max size of NeighRequest list - int maxwt; // max weighting factor applied + 1 // info for other Neigh classes: NBin,NStencil,NPair,NTopo