Commit bb17f21
authored
Add interface for per element operations (#35)
support user interface using omegah mesh
This includes:
- definition of linear and quadratic shape functions for simplicies (edges, triangles, and tets)
- support for user/application element-to-dof ordering and the subsequent index into the arrays holding field data - i.e., the user/application has a different definition of the ordering/numbering of dof holders in a triangle/tet than what MeshFields uses. Note, this PR does not yet include programmatic access to the built-in/native MeshFields canonical ordering for each type of element+shape function combination.
- tests using dummy mesh and Omega_h data to exercise the APIs
Details:
add test for tetrahedrons e118072
add test that creates a field over an omegah mesh and evaluates the field d49551c
add tests that check the results of the evaluate operation using
linear shape function @ centroid d49551c
linear shape function @ interior 82f3a4f
quadratic shape function @ centroid 34b26b3
quadratic shape function @ interior 34b26b3
quadratic shape function with linear analytic function @ interior 34b26b3
add helper method that writes the field to Omega_h tags for rendering/etc.
bug in serialize see #39
extend evaluate to accept a multiple points per element 2535f17
documentation - class/struct interaction
documents - nomenclature
add mesh+fields interface and implement with omegah a87c33c1 parent 94ac58e commit bb17f21
File tree
28 files changed
+7907
-702
lines changed- .github/workflows
- docs
- src
- test
28 files changed
+7907
-702
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
| 31 | + | |
24 | 32 | | |
25 | | - | |
26 | 33 | | |
27 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
28 | 37 | | |
29 | 38 | | |
30 | | - | |
31 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
32 | 45 | | |
33 | 46 | | |
34 | | - | |
| 47 | + | |
| 48 | + | |
35 | 49 | | |
36 | 50 | | |
37 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
38 | 66 | | |
39 | | - | |
40 | 67 | | |
41 | 68 | | |
42 | 69 | | |
| |||
54 | 81 | | |
55 | 82 | | |
56 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
57 | 107 | | |
58 | 108 | | |
59 | 109 | | |
| |||
101 | 151 | | |
102 | 152 | | |
103 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
104 | 158 | | |
105 | 159 | | |
106 | | - | |
107 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
108 | 166 | | |
109 | 167 | | |
110 | | - | |
111 | | - | |
| 168 | + | |
112 | 169 | | |
113 | 170 | | |
114 | 171 | | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 172 | | |
119 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
120 | 183 | | |
121 | 184 | | |
122 | 185 | | |
| |||
0 commit comments