Remove preprocessor usage for atomInfo
[alexxy/gromacs.git] / src / gromacs / domdec / localtopology.cpp
index ace7b43a1bf25a03993fb647644b653925ac555c..ac2bb05500369b397aae3d25396e37d7505acc97 100644 (file)
@@ -55,6 +55,7 @@
 #include "gromacs/domdec/options.h"
 #include "gromacs/domdec/reversetopology.h"
 #include "gromacs/math/vec.h"
+#include "gromacs/mdtypes/atominfo.h"
 #include "gromacs/mdtypes/forcerec.h"
 #include "gromacs/mdtypes/mdatom.h"
 #include "gromacs/pbcutil/pbc.h"
@@ -721,7 +722,7 @@ static void make_exclusions_zone(ArrayRef<const int>               globalAtomInd
     {
         exclusionsForAtom.clear();
 
-        if (GET_CGINFO_EXCL_INTER(atomInfo[at]))
+        if (atomInfo[at] & gmx::sc_atomInfo_Exclusion)
         {
             int mb    = 0;
             int mt    = 0;