From 2bc9cf99bed9b3e7ac18db931f9f8588451e3e9e Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 10 May 2011 12:36:14 +0000
Subject: [PATCH] comment

---
 Post/PViewDataGModel.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Post/PViewDataGModel.cpp b/Post/PViewDataGModel.cpp
index 3b04b77eba..d88ff23ff2 100644
--- a/Post/PViewDataGModel.cpp
+++ b/Post/PViewDataGModel.cpp
@@ -73,8 +73,12 @@ bool PViewDataGModel::finalize(bool computeMinMax, const std::string &interpolat
       Msg::Error("Could not find interpolation scheme '%s'", 
                  interpolationScheme.c_str());
     for(interpolationMatrices::iterator it = m.begin(); it != m.end(); it++){
-      if(it->second.size() == 2)
+      if(it->second.size() == 2){
         setInterpolationMatrices(it->first, *(it->second[0]), *(it->second[1]));
+        // we should maybe automatically add the geometrical
+        // interpolation matrices here (if geometrically the elements
+        // are of order > 1)
+      }
       else if(it->second.size() == 4)
         setInterpolationMatrices(it->first, *it->second[0], *it->second[1],
                                  *it->second[2], *it->second[3]);
-- 
GitLab