Use ListOfLists in gmx_mtop_t and gmx_localtop_t
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / gpp_nextnb.h
index 4d014cdf97a6afb61f478eb8b7cd902251330212..8e640c1bab5060438ad4ac42e9ef9bc3242508c3 100644 (file)
 
 #include "gromacs/utility/arrayref.h"
 
-struct t_blocka;
 struct InteractionsOfType;
 
+namespace gmx
+{
+template<typename>
+class ListOfLists;
+}
+
 struct t_nextnb
 {
     int nr;   /* nr atoms (0 <= i < nr) (atoms->nr)            */
@@ -75,7 +80,7 @@ void gen_nnb(t_nextnb* nnb, gmx::ArrayRef<InteractionsOfType> plist);
  * initiated using init_nnb.
  */
 
-void generate_excl(int nrexcl, int nratoms, gmx::ArrayRef<InteractionsOfType> plist, t_blocka* excl);
+void generate_excl(int nrexcl, int nratoms, gmx::ArrayRef<InteractionsOfType> plist, gmx::ListOfLists<int>* excls);
 /* Generate an exclusion block from bonds and constraints in
  * plist.
  */