summaryrefslogtreecommitdiff
path: root/cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2025-01-29 20:57:11 +0100
committerThierry Thomas <thierry@FreeBSD.org>2025-05-06 18:07:47 +0200
commite3db418d47948a7106eab82bd09dacce06606d89 (patch)
tree041787198acd1a8131a3b9fefac14c29cb57f719 /cad/gmsh/files/patch-contrib_domhex_BackgroundMesh2D.h
parentscience/cgnslib: upgrade to v4.5.0 (diff)
cad/gmsh: chase CGNS 4.5.0
Patch 20c318a4 from upstream. Obtained from: https://gitlab.onelab.info/gmsh/gmsh/-/commit/20c318a4b945a3c7086a3a95b7bb4b56f2a5029e
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);
+