From 819e53e75592ac82c61139a88e078606623bf6c4 Mon Sep 17 00:00:00 2001
From: Emilie Marchandise <emilie.marchandise@uclouvain.be>
Date: Thu, 3 Mar 2011 16:42:56 +0000
Subject: [PATCH] store coordinates at quadrature points or faster dg
 computation (40X faster for VortexInBox.dg) :-)

---
 Common/gmshpy.i | 2 ++
 Geo/GModel.h    | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/Common/gmshpy.i b/Common/gmshpy.i
index be5248da9a..1136a7fc06 100644
--- a/Common/gmshpy.i
+++ b/Common/gmshpy.i
@@ -5,6 +5,7 @@
 %include std_list.i
 %{
   #include "GModel.h"
+  #include "DefaultOptions.h"
   #include "fullMatrix.h"
   #include "function.h"
   #include "dofManager.h"
@@ -124,4 +125,5 @@ namespace std {
 %include "SPoint2.h"
 %include "GPoint.h"  
 %include "functionPython.h"
+%include "DefaultOptions.h"
 
diff --git a/Geo/GModel.h b/Geo/GModel.h
index 4595ab2ff5..7297e5beca 100644
--- a/Geo/GModel.h
+++ b/Geo/GModel.h
@@ -404,7 +404,7 @@ class GModel
                    double angle);
   GEntity *extrude(GEntity *e, std::vector<double> p1, std::vector<double> p2);
   GEntity *addPipe(GEntity *e, std::vector<GEdge *>  edges);
-
+  
   void addRuledFaces(std::vector<std::vector<GEdge *> > edges);
   GFace *addFace(std::vector<GEdge *> edges, std::vector< std::vector<double > > points);
   GFace *addPlanarFace(std::vector<std::vector<GEdge *> > edges);
-- 
GitLab