Simplify DD exclusion counting
[alexxy/gromacs.git] / src / gromacs / domdec / domdec_struct.h
index 60bd04913d39482cbe185ec374db263f475d45f6..c80e6687df66f70eab3891cd408edb90608e7841 100644 (file)
@@ -193,8 +193,8 @@ struct gmx_domdec_t { //NOLINT(clang-analyzer-optin.performance.Padding)
     int                 nbonded_global = 0;
     int                 nbonded_local  = 0;
 
-    /* The number of inter charge-group exclusions */
-    int  n_intercg_excl = 0;
+    /* Whether we have non-self exclusion */
+    bool haveExclusions = false;
 
     /* Vsite stuff */
     gmx::HashedMap<int>       *ga2la_vsite = nullptr;