Use ListOfLists in gmx_mtop_t and gmx_localtop_t
[alexxy/gromacs.git] / src / gromacs / topology / block.h
index 8db0164b90c8e6ef9ca008c3666b98b62c1ac3df..fe0a30a56a15661f993bb13d56e711c90b85925a 100644 (file)
@@ -48,6 +48,9 @@
 namespace gmx
 {
 
+template<typename>
+class ListOfLists;
+
 /*! \brief Division of a range of indices into consecutive blocks
  *
  * A range of consecutive indices 0 to full.range.end() is divided
@@ -217,5 +220,6 @@ void stupid_fill_blocka(t_blocka* grp, int natom);
 
 void pr_block(FILE* fp, int indent, const char* title, const t_block* block, gmx_bool bShowNumbers);
 void pr_blocka(FILE* fp, int indent, const char* title, const t_blocka* block, gmx_bool bShowNumbers);
+void pr_listoflists(FILE* fp, int indent, const char* title, const gmx::ListOfLists<int>* block, gmx_bool bShowNumbers);
 
 #endif