summaryrefslogtreecommitdiff
path: root/cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h
diff options
context:
space:
mode:
Diffstat (limited to 'cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h')
-rw-r--r--cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h b/cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h
new file mode 100644
index 000000000000..9e6ad3a20153
--- /dev/null
+++ b/cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h
@@ -0,0 +1,23 @@
+--- contrib/domhex/BackgroundMesh2D.h.orig 2024-03-29 22:06:54 UTC
++++ contrib/domhex/BackgroundMesh2D.h
+@@ -9,9 +9,7 @@
+ #include <string>
+ #include <map>
+ #include <vector>
+-#include "Pair.h"
+ #include "STensor3.h"
+-
+ #include "BGMBase.h"
+
+ class MTriangle;
+@@ -133,8 +131,8 @@ class frameFieldBackgroundMesh2D : public backgroundMe
+ void eval_crossfield(MVertex *vert, STensor3 &cf);
+
+ void exportCrossField(const std::string &filename);
+- Pair<SVector3, SVector3> compute_crossfield_directions(double u, double v,
+- double angle_current);
++ std::pair<SVector3, SVector3> compute_crossfield_directions(double u, double v,
++ double angle_current);
+ bool compute_RK_infos(double u, double v, double x, double y, double z,
+ RK_form &infos);
+