From 893028fe776678586a1d1a206ccb74719f35777b Mon Sep 17 00:00:00 2001 From: Mark Abraham Date: Thu, 27 May 2021 14:41:24 +0200 Subject: [PATCH] Remove orphaned code This should have been removed in c17939744a88e but somehow it survived long enough to move location. This should have failed testing because optional std header is not included here, but it somehow passed. Now it is removed Refs #3887 --- src/gromacs/domdec/reversetopology.cpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/gromacs/domdec/reversetopology.cpp b/src/gromacs/domdec/reversetopology.cpp index db38d33a2c..cbaf4c206e 100644 --- a/src/gromacs/domdec/reversetopology.cpp +++ b/src/gromacs/domdec/reversetopology.cpp @@ -97,34 +97,8 @@ struct gmx_reverse_top_t::Impl //! \brief Intermolecular reverse ilist reverse_ilist_t ril_intermol; - /*! \brief Data to help check reverse topology construction - * - * Partitioning could incorrectly miss a bonded interaction. - * However, checking for that requires a global communication - * stage, which does not otherwise happen during partitioning. So, - * for performance, we do that alongside the first global energy - * reduction after a new DD is made. These variables handle - * whether the check happens, its input for this domain, output - * across all domains, and the expected value it should match. */ - /*! \{ */ - /*! \brief Number of bonded interactions found in the reverse - * topology for this domain. */ - int numBondedInteractions = 0; - /*! \brief Whether to check at the next global communication - * stage the total number of bonded interactions found. - * - * Cleared after that number is found. */ - bool shouldCheckNumberOfBondedInteractions = false; - /*! \brief The total number of bonded interactions found in - * the reverse topology across all domains. - * - * Only has a value after reduction across all ranks, which is - * removed when it is again time to check after a new - * partition. */ - std::optional numBondedInteractionsOverAllDomains; //! The number of bonded interactions computed from the full topology int expectedNumGlobalBondedInteractions = 0; - /*! \} */ /* Work data structures for multi-threading */ //! \brief Thread work array for local topology generation -- 2.22.0