Merge branch release-4-6
[alexxy/gromacs.git] / src / gromacs / legacyheaders / types / idef.h
index e5fb5c73dab3ba24bae76e35288f80da3b389b80..c8011a3be57861d732f52e73510de24da4bfdde1 100644 (file)
@@ -351,6 +351,9 @@ typedef struct
 
     t_ilist     il[F_NRE];
     int         ilsort;
+    int         nthreads;
+    int        *il_thread_division;
+    int         il_thread_division_nalloc;
 } t_idef;
 
 /*
@@ -383,6 +386,17 @@ typedef struct
  *   t_ilist il[F_NRE]
  *      The list of interactions for each type. Note that some,
  *      such as LJ and COUL will have 0 entries.
+ *   int ilsort
+ *      The state of the sorting of il, values are provided above.
+ *   int nthreads
+ *      The number of threads used to set il_thread_division.
+ *   int *il_thread_division
+ *      The division of the normal bonded interactions of threads.
+ *      il_thread_division[ftype*(nthreads+1)+t] contains an index
+ *      into il[ftype].iatoms; thread th operates on t=th to t=th+1.
+ *   int il_thread_division_nalloc
+ *      The allocated size of il_thread_division,
+ *      should be at least F_NRE*(nthreads+1).
  */
 
 typedef struct {