summaryrefslogtreecommitdiff
path: root/cad/gmsh/files/patch-src_geo_gmshSurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gmsh/files/patch-src_geo_gmshSurface.h')
-rw-r--r--cad/gmsh/files/patch-src_geo_gmshSurface.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/cad/gmsh/files/patch-src_geo_gmshSurface.h b/cad/gmsh/files/patch-src_geo_gmshSurface.h
new file mode 100644
index 000000000000..42b306deb3aa
--- /dev/null
+++ b/cad/gmsh/files/patch-src_geo_gmshSurface.h
@@ -0,0 +1,19 @@
+--- src/geo/gmshSurface.h.orig 2024-03-29 22:07:01 UTC
++++ src/geo/gmshSurface.h
+@@ -9,7 +9,6 @@
+ #include <cmath>
+ #include <cstdio>
+ #include <map>
+-#include "Pair.h"
+ #include "Range.h"
+ #include "SPoint2.h"
+ #include "SPoint3.h"
+@@ -61,7 +60,7 @@ class gmshSurface { (public)
+ // Return the normal to the face at the given parameter location.
+ virtual SVector3 normal(const SPoint2 &param) const;
+ // Return the first derivate of the face at the parameter location.
+- virtual Pair<SVector3, SVector3> firstDer(const SPoint2 &param);
++ virtual std::pair<SVector3, SVector3> firstDer(const SPoint2 &param);
+ virtual double getMetricEigenvalue(const SPoint2 &);
+ };
+