From bf0e045e12d9f3547a61db9aa61930bf8bb4edcf Mon Sep 17 00:00:00 2001
From: Wiarda <wiardada@ornl.gov>
Date: Wed, 12 May 2021 17:06:53 -0400
Subject: [PATCH] Add more comments

---
 sammy/src/salmon/DerivativeList.h | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

diff --git a/sammy/src/salmon/DerivativeList.h b/sammy/src/salmon/DerivativeList.h
index 745ad992d..804dd0ec4 100644
--- a/sammy/src/salmon/DerivativeList.h
+++ b/sammy/src/salmon/DerivativeList.h
@@ -149,12 +149,22 @@ namespace sammy{
      */
     int getIndexForShared(int col) const;
   private:    
-     void updateRealCol(int col);
-     GridDataList gridData;
-     GridData sharedData;
+    /* For look-up acceleration set up the linking between columns and
+     * index to either shared or "normal colum */
+    void updateRealCol(int col);
 
-     std::vector<std::pair<int,int>> sharedIndices;
-     std::vector<int> realCol;
+    /** the list of "normal" columns */
+    GridDataList gridData;
+
+    /** The list of shared  columns */
+    GridData sharedData;
+
+    /** The isotope to link to for shared column */
+    std::vector<std::pair<int,int>> sharedIndices;
+
+    /* For look-up acceleration set up the linking between columns and
+     * index to either shared or "normal colum */
+    std::vector<int> realCol;
   };
 
   /**
-- 
GitLab