bluemesh2d 0.1.1.dev0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. bluemesh2d/_version.py +24 -0
  2. bluemesh2d/aabb_tree/findball.py +121 -0
  3. bluemesh2d/aabb_tree/findtria.py +299 -0
  4. bluemesh2d/aabb_tree/maketree.py +147 -0
  5. bluemesh2d/aabb_tree/mapvert.py +72 -0
  6. bluemesh2d/aabb_tree/queryset.py +83 -0
  7. bluemesh2d/aabb_tree/scantree.py +124 -0
  8. bluemesh2d/dependencies.py +83 -0
  9. bluemesh2d/feedback.py +142 -0
  10. bluemesh2d/geom_util/boundary_util.py +216 -0
  11. bluemesh2d/geom_util/getiso.py +194 -0
  12. bluemesh2d/geom_util/poly_util.py +795 -0
  13. bluemesh2d/geom_util/proj_util.py +250 -0
  14. bluemesh2d/geomesh_util/border_util.py +283 -0
  15. bluemesh2d/geomesh_util/depth_field.py +333 -0
  16. bluemesh2d/geomesh_util/grd_util.py +1000 -0
  17. bluemesh2d/geomesh_util/interpolation_mesh.py +318 -0
  18. bluemesh2d/geomesh_util/merge_circumcenters.py +268 -0
  19. bluemesh2d/geomesh_util/water_polygon.py +406 -0
  20. bluemesh2d/hfun_util/build_hfun.py +589 -0
  21. bluemesh2d/hfun_util/hfun_dispersion.py +96 -0
  22. bluemesh2d/hfun_util/lfshfn.py +110 -0
  23. bluemesh2d/hfun_util/limhfn.py +65 -0
  24. bluemesh2d/hfun_util/make_constant_hfun.py +32 -0
  25. bluemesh2d/hfun_util/make_depth_hfun.py +51 -0
  26. bluemesh2d/hfun_util/smooth_and_precomput.py +188 -0
  27. bluemesh2d/hfun_util/trihfn.py +84 -0
  28. bluemesh2d/hjac_util/limgrad.py +105 -0
  29. bluemesh2d/mesh_ball/cdtbal1.py +38 -0
  30. bluemesh2d/mesh_ball/cdtbal2.py +104 -0
  31. bluemesh2d/mesh_ball/inv_2x2.py +61 -0
  32. bluemesh2d/mesh_ball/inv_3x3.py +72 -0
  33. bluemesh2d/mesh_ball/pwrbal2.py +134 -0
  34. bluemesh2d/mesh_ball/tribal2.py +27 -0
  35. bluemesh2d/mesh_cost/relhfn.py +62 -0
  36. bluemesh2d/mesh_cost/triang.py +59 -0
  37. bluemesh2d/mesh_cost/triarea.py +51 -0
  38. bluemesh2d/mesh_cost/trideg.py +44 -0
  39. bluemesh2d/mesh_cost/triscr.py +43 -0
  40. bluemesh2d/mesh_file/bnd_util.py +664 -0
  41. bluemesh2d/mesh_file/loadmsh.py +165 -0
  42. bluemesh2d/mesh_file/ugrid.py +308 -0
  43. bluemesh2d/mesh_util/cfmtri.py +118 -0
  44. bluemesh2d/mesh_util/deltri.py +131 -0
  45. bluemesh2d/mesh_util/idxtri.py +53 -0
  46. bluemesh2d/mesh_util/isfeat.py +90 -0
  47. bluemesh2d/mesh_util/minlen.py +46 -0
  48. bluemesh2d/mesh_util/setset.py +49 -0
  49. bluemesh2d/mesh_util/tricon.py +90 -0
  50. bluemesh2d/mesh_util/tridiv.py +187 -0
  51. bluemesh2d/meshgen.py +202 -0
  52. bluemesh2d/ortho_merge/constants.py +27 -0
  53. bluemesh2d/ortho_merge/geometry.py +64 -0
  54. bluemesh2d/ortho_merge/ortho_merge_iter.py +812 -0
  55. bluemesh2d/ortho_merge/orthogonalize.py +2989 -0
  56. bluemesh2d/pipeline.py +277 -0
  57. bluemesh2d/poly_data/airfoil.msh +958 -0
  58. bluemesh2d/poly_data/channel.msh +212 -0
  59. bluemesh2d/poly_data/islands.msh +13819 -0
  60. bluemesh2d/poly_data/lake.msh +612 -0
  61. bluemesh2d/poly_data/river.msh +690 -0
  62. bluemesh2d/poly_test/inpoly.py +105 -0
  63. bluemesh2d/poly_test/inpoly_mat.py +104 -0
  64. bluemesh2d/refine.py +972 -0
  65. bluemesh2d/smood.py +623 -0
  66. bluemesh2d/smooth.py +522 -0
  67. bluemesh2d/tricost.py +426 -0
  68. bluemesh2d/tridemo.py +723 -0
  69. bluemesh2d/triread.py +53 -0
  70. bluemesh2d-0.1.1.dev0.dist-info/METADATA +139 -0
  71. bluemesh2d-0.1.1.dev0.dist-info/RECORD +74 -0
  72. bluemesh2d-0.1.1.dev0.dist-info/WHEEL +5 -0
  73. bluemesh2d-0.1.1.dev0.dist-info/licenses/LICENSE +674 -0
  74. bluemesh2d-0.1.1.dev0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,212 @@
1
+ #channel.msh geometry, created by JIGSAW
2
+ #https://github.com/dengwirda/jigsaw-matlab
3
+ mshid=1
4
+ ndims=2
5
+ point=103
6
+ 0;0;0
7
+ 5;0;0
8
+ 5;1.1;0
9
+ 4.95;1.096858316112863;0
10
+ 4.9;1.087630668004386;0
11
+ 4.85;1.072896862742141;0
12
+ 4.8;1.0535826794979;0
13
+ 4.75;1.030901699437495;0
14
+ 4.7;1.006279051952931;0
15
+ 4.65;0.9812618685414277;0
16
+ 4.6;0.9574220708434924;0
17
+ 4.55;0.9362576010251309;0
18
+ 4.5;0.9190983005625052;0
19
+ 4.45;0.9070223514111748;0
20
+ 4.4;0.9007885298685523;0
21
+ 4.35;0.9007885298685523;0
22
+ 4.3;0.9070223514111749;0
23
+ 4.25;0.9190983005625053;0
24
+ 4.2;0.936257601025131;0
25
+ 4.15;0.9574220708434925;0
26
+ 4.1;0.9812618685414279;0
27
+ 4.05;1.006279051952932;0
28
+ 4;1.030901699437495;0
29
+ 3.95;1.0535826794979;0
30
+ 3.9;1.072896862742141;0
31
+ 3.85;1.087630668004387;0
32
+ 3.8;1.096858316112863;0
33
+ 3.75;1.1;0
34
+ 3.7;1.096858316112863;0
35
+ 3.65;1.087630668004386;0
36
+ 3.6;1.072896862742141;0
37
+ 3.55;1.0535826794979;0
38
+ 3.5;1.030901699437495;0
39
+ 3.45;1.006279051952931;0
40
+ 3.4;0.9812618685414274;0
41
+ 3.35;0.9574220708434924;0
42
+ 3.3;0.9362576010251309;0
43
+ 3.25;0.9190983005625052;0
44
+ 3.2;0.9070223514111748;0
45
+ 3.15;0.9007885298685522;0
46
+ 3.1;0.9007885298685523;0
47
+ 3.05;0.9070223514111749;0
48
+ 3;0.9190983005625053;0
49
+ 2.95;0.9362576010251312;0
50
+ 2.9;0.9574220708434928;0
51
+ 2.85;0.9812618685414275;0
52
+ 2.8;1.006279051952931;0
53
+ 2.75;1.030901699437495;0
54
+ 2.7;1.0535826794979;0
55
+ 2.65;1.072896862742141;0
56
+ 2.6;1.087630668004386;0
57
+ 2.55;1.096858316112863;0
58
+ 2.5;1.1;0
59
+ 2.45;1.096858316112863;0
60
+ 2.4;1.087630668004386;0
61
+ 2.35;1.072896862742141;0
62
+ 2.3;1.0535826794979;0
63
+ 2.25;1.030901699437495;0
64
+ 2.2;1.006279051952931;0
65
+ 2.15;0.9812618685414274;0
66
+ 2.1;0.9574220708434927;0
67
+ 2.05;0.9362576010251311;0
68
+ 2;0.9190983005625052;0
69
+ 1.95;0.9070223514111749;0
70
+ 1.9;0.9007885298685522;0
71
+ 1.85;0.9007885298685522;0
72
+ 1.8;0.9070223514111748;0
73
+ 1.75;0.9190983005625053;0
74
+ 1.7;0.9362576010251309;0
75
+ 1.65;0.9574220708434926;0
76
+ 1.6;0.9812618685414275;0
77
+ 1.55;1.006279051952931;0
78
+ 1.5;1.030901699437495;0
79
+ 1.45;1.0535826794979;0
80
+ 1.4;1.072896862742141;0
81
+ 1.35;1.087630668004386;0
82
+ 1.3;1.096858316112863;0
83
+ 1.25;1.1;0
84
+ 1.2;1.096858316112863;0
85
+ 1.15;1.087630668004386;0
86
+ 1.1;1.072896862742141;0
87
+ 1.05;1.0535826794979;0
88
+ 1;1.030901699437495;0
89
+ 0.9500000000000001;1.006279051952931;0
90
+ 0.9;0.9812618685414275;0
91
+ 0.8500000000000001;0.9574220708434927;0
92
+ 0.8;0.936257601025131;0
93
+ 0.75;0.9190983005625053;0
94
+ 0.7000000000000001;0.9070223514111748;0
95
+ 0.65;0.9007885298685522;0
96
+ 0.6000000000000001;0.9007885298685522;0
97
+ 0.55;0.9070223514111748;0
98
+ 0.5;0.9190983005625053;0
99
+ 0.45;0.936257601025131;0
100
+ 0.4;0.9574220708434927;0
101
+ 0.35;0.9812618685414275;0
102
+ 0.3;1.006279051952931;0
103
+ 0.25;1.030901699437495;0
104
+ 0.2;1.0535826794979;0
105
+ 0.15;1.072896862742141;0
106
+ 0.1;1.087630668004386;0
107
+ 0.05;1.096858316112863;0
108
+ 0;1.1;0
109
+ edge2=103
110
+ 0;1;0
111
+ 1;2;0
112
+ 2;3;0
113
+ 3;4;0
114
+ 4;5;0
115
+ 5;6;0
116
+ 6;7;0
117
+ 7;8;0
118
+ 8;9;0
119
+ 9;10;0
120
+ 10;11;0
121
+ 11;12;0
122
+ 12;13;0
123
+ 13;14;0
124
+ 14;15;0
125
+ 15;16;0
126
+ 16;17;0
127
+ 17;18;0
128
+ 18;19;0
129
+ 19;20;0
130
+ 20;21;0
131
+ 21;22;0
132
+ 22;23;0
133
+ 23;24;0
134
+ 24;25;0
135
+ 25;26;0
136
+ 26;27;0
137
+ 27;28;0
138
+ 28;29;0
139
+ 29;30;0
140
+ 30;31;0
141
+ 31;32;0
142
+ 32;33;0
143
+ 33;34;0
144
+ 34;35;0
145
+ 35;36;0
146
+ 36;37;0
147
+ 37;38;0
148
+ 38;39;0
149
+ 39;40;0
150
+ 40;41;0
151
+ 41;42;0
152
+ 42;43;0
153
+ 43;44;0
154
+ 44;45;0
155
+ 45;46;0
156
+ 46;47;0
157
+ 47;48;0
158
+ 48;49;0
159
+ 49;50;0
160
+ 50;51;0
161
+ 51;52;0
162
+ 52;53;0
163
+ 53;54;0
164
+ 54;55;0
165
+ 55;56;0
166
+ 56;57;0
167
+ 57;58;0
168
+ 58;59;0
169
+ 59;60;0
170
+ 60;61;0
171
+ 61;62;0
172
+ 62;63;0
173
+ 63;64;0
174
+ 64;65;0
175
+ 65;66;0
176
+ 66;67;0
177
+ 67;68;0
178
+ 68;69;0
179
+ 69;70;0
180
+ 70;71;0
181
+ 71;72;0
182
+ 72;73;0
183
+ 73;74;0
184
+ 74;75;0
185
+ 75;76;0
186
+ 76;77;0
187
+ 77;78;0
188
+ 78;79;0
189
+ 79;80;0
190
+ 80;81;0
191
+ 81;82;0
192
+ 82;83;0
193
+ 83;84;0
194
+ 84;85;0
195
+ 85;86;0
196
+ 86;87;0
197
+ 87;88;0
198
+ 88;89;0
199
+ 89;90;0
200
+ 90;91;0
201
+ 91;92;0
202
+ 92;93;0
203
+ 93;94;0
204
+ 94;95;0
205
+ 95;96;0
206
+ 96;97;0
207
+ 97;98;0
208
+ 98;99;0
209
+ 99;100;0
210
+ 100;101;0
211
+ 101;102;0
212
+ 102;0;0