aboutsummaryrefslogtreecommitdiff
path: root/math/octave-forge-mboct-fem-pkg/files/patch-____mboct__fem__pkg____.cc
diff options
context:
space:
mode:
Diffstat (limited to 'math/octave-forge-mboct-fem-pkg/files/patch-____mboct__fem__pkg____.cc')
-rw-r--r--math/octave-forge-mboct-fem-pkg/files/patch-____mboct__fem__pkg____.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/math/octave-forge-mboct-fem-pkg/files/patch-____mboct__fem__pkg____.cc b/math/octave-forge-mboct-fem-pkg/files/patch-____mboct__fem__pkg____.cc
new file mode 100644
index 000000000000..7b3b128ce951
--- /dev/null
+++ b/math/octave-forge-mboct-fem-pkg/files/patch-____mboct__fem__pkg____.cc
@@ -0,0 +1,20 @@
+--- __mboct_fem_pkg__.cc.orig 2025-08-26 05:16:33 UTC
++++ __mboct_fem_pkg__.cc
+@@ -7171,7 +7171,7 @@ class Tet10h: public Element3D (public)
+ static constexpr double w2[N2] = {f2, g2, g2, g2, g2, h2, h2, h2, h2, i2, i2, i2, i2, i2, i2};
+
+ constexpr double a3 = (5. - sqrt(5.)) / 20.;
+- constexpr double b3 = (5. + 3. * sqrt(5)) / 20.;
++ constexpr double b3 = (5. + 3. * sqrt(5.)) / 20.;
+ constexpr double c3 = 1. / 24.;
+ constexpr octave_idx_type N3 = 4;
+
+@@ -8059,7 +8059,7 @@ class Tet20: public Element3D (public)
+ static constexpr double ti3[N3] = {6.461106321354800e-02, 6.461106321354800e-02, 6.461106321354800e-02, 6.461106321354800e-02, 4.651867752656100e-02, 4.651867752656100e-02, 4.651867752656100e-02, 4.651867752656100e-02, 2.291316667641300e-02, 2.291316667641300e-02, 2.291316667641300e-02, 2.291316667641300e-02, 4.820780989426000e-03, 4.820780989426000e-03, 4.820780989426000e-03, 4.820780989426000e-03, 3.070963115311590e-01, 3.070963115311590e-01, 3.070963115311590e-01, 3.070963115311590e-01, 2.211032225007380e-01, 2.211032225007380e-01, 2.211032225007380e-01, 2.211032225007380e-01, 1.089062557068340e-01, 1.089062557068340e-01, 1.089062557068340e-01, 1.089062557068340e-01, 2.291316667641300e-02, 2.291316667641300e-02, 2.291316667641300e-02, 2.291316667641300e-02, 6.234718442658670e-01, 6.234718442658670e-01, 6.234718442658670e-01, 6.234718442658670e-01, 4.488872992916900e-01, 4.488872992916900e-01, 4.488872992916900e-01, 4.488872992916900e-01, 2.211032225007380e-01, 2.211032225007380e-01, 2.211032225007380e-01, 2.211032225007380e-01, 4.651867752656100e-02, 4.651867752656100e-02, 4.651867752656100e-02, 4.651867752656100e-02, 8.659570925834790e-01, 8.659570925834790e-01, 8.659570925834790e-01, 8.659570925834790e-01, 6.234718442658670e-01, 6.234718442658670e-01, 6.234718442658670e-01, 6.234718442658670e-01, 3.070963115311590e-01, 3.070963115311590e-01, 3.070963115311590e-01, 3.070963115311590e-01, 6.461106321354800e-02, 6.461106321354800e-02, 6.461106321354800e-02, 6.461106321354800e-02};
+ static constexpr double wi3[N3] = {1.761084870822600e-06, 1.761084870822600e-06, 3.301615549885100e-06, 3.301615549885100e-06, 1.569257503335800e-05, 1.569257503335800e-05, 2.941984830275260e-05, 2.941984830275260e-05, 3.185931686560010e-05, 3.185931686560010e-05, 5.972864665122530e-05, 5.972864665122530e-05, 2.360313944207820e-05, 2.360313944207820e-05, 4.425027634907300e-05, 4.425027634907300e-05, 7.458679166511140e-05, 7.458679166511140e-05, 1.398325062338110e-04, 1.398325062338110e-04, 6.646237464725280e-04, 6.646237464725280e-04, 1.246011553748000e-03, 1.246011553748000e-03, 1.349329762022000e-03, 1.349329762022000e-03, 2.529672588768000e-03, 2.529672588768000e-03, 9.996579230088670e-04, 9.996579230088670e-04, 1.874121002261000e-03, 1.874121002261000e-03, 3.074301219528830e-04, 3.074301219528830e-04, 5.763584072291740e-04, 5.763584072291740e-04, 2.739430867978000e-03, 2.739430867978000e-03, 5.135781756688000e-03, 5.135781756688000e-03, 5.561636370626000e-03, 5.561636370626000e-03, 1.042674627912200e-02, 1.042674627912200e-02, 4.120367029080000e-03, 4.120367029080000e-03, 7.724708831375000e-03, 7.724708831375000e-03, 3.163437496694650e-04, 3.163437496694650e-04, 5.930693405649470e-04, 5.930693405649470e-04, 2.818857915521000e-03, 2.818857915521000e-03, 5.284688592238000e-03, 5.284688592238000e-03, 5.722890433136000e-03, 5.722890433136000e-03, 1.072905931870600e-02, 1.072905931870600e-02, 4.239832934111000e-03, 4.239832934111000e-03, 7.948679008091999e-03, 7.948679008091999e-03};
+
+- constexpr double a4 = (5. + 3. * sqrt(5)) / 20.;
++ constexpr double a4 = (5. + 3. * sqrt(5.)) / 20.;
+ constexpr double b4 = (5. - sqrt(5.)) / 20.;
+ constexpr double c4 = 1. / 24.;
+ constexpr octave_idx_type N4 = 4;