Arcane  4.2.3.0
User documentation
Loading...
Searching...
No Matches
GeneratedGeomElement.h
1// WARNING: This file is generated by a tool. DO NOT EDIT.
2/*
3 * Generation of classes managing geometric elements (GeomElement).
4 */
5
6/*!
7 * \ingroup ArcaneGeometric
8 * \brief Geometric elements of type GeomType::Triangle3.
9 */
10class ARCANE_GEOMETRY_EXPORT Triangle3Element
11: public GeomElementBase< 3 >
12{
13 public:
14
15 using ConstViewType = Triangle3ElementConstView;
16 using ViewType = Triangle3ElementView;
17
18 public:
19
20 using GeomElementBase< 3 >::init;
21
22 Triangle3Element() = default;
23 Triangle3Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
24 constexpr Triangle3Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
25 Triangle3Element(const Real3& a0, const Real3& a1, const Real3& a2)
26 {
27 m_s[0] = a0;
28 m_s[1] = a1;
29 m_s[2] = a2;
30 }
31
32 //! Initializes the instance with the coordinates passed as arguments
33 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2)
34 {
35 m_s[0] = a0;
36 m_s[1] = a1;
37 m_s[2] = a2;
38 }
39 //! Conversion operator to a constant view
40 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
41 //! Conversion operator to a mutable view
42 constexpr operator ViewType() { return ViewType(m_s); }
43 //! Constant view of the element
44 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
45 //! Mutable view of the element
46 constexpr ViewType view() { return ViewType(m_s); }
47};
48
49//! Geometric element of type GeomType::Triangle3
50using TriangleElement = Triangle3Element;
51
52
53/*!
54 * \ingroup ArcaneGeometric
55 * \brief Geometric elements of type GeomType::Quad4.
56 */
57class ARCANE_GEOMETRY_EXPORT Quad4Element
58: public GeomElementBase< 4 >
59{
60 public:
61
62 using ConstViewType = Quad4ElementConstView;
63 using ViewType = Quad4ElementView;
64
65 public:
66
67 using GeomElementBase< 4 >::init;
68
69 Quad4Element() = default;
70 Quad4Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
71 constexpr Quad4Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
72 Quad4Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3)
73 {
74 m_s[0] = a0;
75 m_s[1] = a1;
76 m_s[2] = a2;
77 m_s[3] = a3;
78 }
79
80 //! Initializes the instance with the coordinates passed as arguments
81 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3)
82 {
83 m_s[0] = a0;
84 m_s[1] = a1;
85 m_s[2] = a2;
86 m_s[3] = a3;
87 }
88 //! Conversion operator to a constant view
89 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
90 //! Conversion operator to a mutable view
91 constexpr operator ViewType() { return ViewType(m_s); }
92 //! Constant view of the element
93 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
94 //! Mutable view of the element
95 constexpr ViewType view() { return ViewType(m_s); }
96};
97
98//! Geometric element of type GeomType::Quad4
99using QuadElement = Quad4Element;
100
101
102/*!
103 * \ingroup ArcaneGeometric
104 * \brief Geometric elements of type GeomType::Pentagon5.
105 */
106class ARCANE_GEOMETRY_EXPORT Pentagon5Element
107: public GeomElementBase< 5 >
108{
109 public:
110
111 using ConstViewType = Pentagon5ElementConstView;
112 using ViewType = Pentagon5ElementView;
113
114 public:
115
116 using GeomElementBase< 5 >::init;
117
118 Pentagon5Element() = default;
119 Pentagon5Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
120 constexpr Pentagon5Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
121 Pentagon5Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4)
122 {
123 m_s[0] = a0;
124 m_s[1] = a1;
125 m_s[2] = a2;
126 m_s[3] = a3;
127 m_s[4] = a4;
128 }
129
130 //! Initializes the instance with the coordinates passed as arguments
131 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4)
132 {
133 m_s[0] = a0;
134 m_s[1] = a1;
135 m_s[2] = a2;
136 m_s[3] = a3;
137 m_s[4] = a4;
138 }
139 //! Conversion operator to a constant view
140 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
141 //! Conversion operator to a mutable view
142 constexpr operator ViewType() { return ViewType(m_s); }
143 //! Constant view of the element
144 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
145 //! Mutable view of the element
146 constexpr ViewType view() { return ViewType(m_s); }
147};
148
149//! Geometric element of type GeomType::Pentagon5
150using PentagonElement = Pentagon5Element;
151
152
153/*!
154 * \ingroup ArcaneGeometric
155 * \brief Geometric elements of type GeomType::Hexagon6.
156 */
157class ARCANE_GEOMETRY_EXPORT Hexagon6Element
158: public GeomElementBase< 6 >
159{
160 public:
161
162 using ConstViewType = Hexagon6ElementConstView;
163 using ViewType = Hexagon6ElementView;
164
165 public:
166
167 using GeomElementBase< 6 >::init;
168
169 Hexagon6Element() = default;
170 Hexagon6Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
171 constexpr Hexagon6Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
172 Hexagon6Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5)
173 {
174 m_s[0] = a0;
175 m_s[1] = a1;
176 m_s[2] = a2;
177 m_s[3] = a3;
178 m_s[4] = a4;
179 m_s[5] = a5;
180 }
181
182 //! Initializes the instance with the coordinates passed as arguments
183 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5)
184 {
185 m_s[0] = a0;
186 m_s[1] = a1;
187 m_s[2] = a2;
188 m_s[3] = a3;
189 m_s[4] = a4;
190 m_s[5] = a5;
191 }
192 //! Conversion operator to a constant view
193 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
194 //! Conversion operator to a mutable view
195 constexpr operator ViewType() { return ViewType(m_s); }
196 //! Constant view of the element
197 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
198 //! Mutable view of the element
199 constexpr ViewType view() { return ViewType(m_s); }
200};
201
202//! Geometric element of type GeomType::Hexagon6
203using HexagonElement = Hexagon6Element;
204
205
206/*!
207 * \ingroup ArcaneGeometric
208 * \brief Geometric elements of type GeomType::Tetraedron4.
209 */
210class ARCANE_GEOMETRY_EXPORT Tetraedron4Element
211: public GeomElementBase< 4 >
212{
213 public:
214
215 using ConstViewType = Tetraedron4ElementConstView;
216 using ViewType = Tetraedron4ElementView;
217
218 public:
219
220 using GeomElementBase< 4 >::init;
221
222 Tetraedron4Element() = default;
223 Tetraedron4Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
224 constexpr Tetraedron4Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
225 Tetraedron4Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3)
226 {
227 m_s[0] = a0;
228 m_s[1] = a1;
229 m_s[2] = a2;
230 m_s[3] = a3;
231 }
232
233 //! Initializes the instance with the coordinates passed as arguments
234 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3)
235 {
236 m_s[0] = a0;
237 m_s[1] = a1;
238 m_s[2] = a2;
239 m_s[3] = a3;
240 }
241 //! Conversion operator to a constant view
242 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
243 //! Conversion operator to a mutable view
244 constexpr operator ViewType() { return ViewType(m_s); }
245 //! Constant view of the element
246 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
247 //! Mutable view of the element
248 constexpr ViewType view() { return ViewType(m_s); }
249};
250
251//! Geometric element of type GeomType::Tetraedron4
252using TetraElement = Tetraedron4Element;
253
254
255/*!
256 * \ingroup ArcaneGeometric
257 * \brief Geometric elements of type GeomType::Pyramid5.
258 */
259class ARCANE_GEOMETRY_EXPORT Pyramid5Element
260: public GeomElementBase< 5 >
261{
262 public:
263
264 using ConstViewType = Pyramid5ElementConstView;
265 using ViewType = Pyramid5ElementView;
266
267 public:
268
269 using GeomElementBase< 5 >::init;
270
271 Pyramid5Element() = default;
272 Pyramid5Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
273 constexpr Pyramid5Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
274 Pyramid5Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4)
275 {
276 m_s[0] = a0;
277 m_s[1] = a1;
278 m_s[2] = a2;
279 m_s[3] = a3;
280 m_s[4] = a4;
281 }
282
283 //! Initializes the instance with the coordinates passed as arguments
284 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4)
285 {
286 m_s[0] = a0;
287 m_s[1] = a1;
288 m_s[2] = a2;
289 m_s[3] = a3;
290 m_s[4] = a4;
291 }
292 //! Conversion operator to a constant view
293 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
294 //! Conversion operator to a mutable view
295 constexpr operator ViewType() { return ViewType(m_s); }
296 //! Constant view of the element
297 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
298 //! Mutable view of the element
299 constexpr ViewType view() { return ViewType(m_s); }
300};
301
302//! Geometric element of type GeomType::Pyramid5
303using PyramidElement = Pyramid5Element;
304
305
306/*!
307 * \ingroup ArcaneGeometric
308 * \brief Geometric elements of type GeomType::Pentaedron6.
309 */
310class ARCANE_GEOMETRY_EXPORT Pentaedron6Element
311: public GeomElementBase< 6 >
312{
313 public:
314
315 using ConstViewType = Pentaedron6ElementConstView;
316 using ViewType = Pentaedron6ElementView;
317
318 public:
319
320 using GeomElementBase< 6 >::init;
321
322 Pentaedron6Element() = default;
323 Pentaedron6Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
324 constexpr Pentaedron6Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
325 Pentaedron6Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5)
326 {
327 m_s[0] = a0;
328 m_s[1] = a1;
329 m_s[2] = a2;
330 m_s[3] = a3;
331 m_s[4] = a4;
332 m_s[5] = a5;
333 }
334
335 //! Initializes the instance with the coordinates passed as arguments
336 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5)
337 {
338 m_s[0] = a0;
339 m_s[1] = a1;
340 m_s[2] = a2;
341 m_s[3] = a3;
342 m_s[4] = a4;
343 m_s[5] = a5;
344 }
345 //! Conversion operator to a constant view
346 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
347 //! Conversion operator to a mutable view
348 constexpr operator ViewType() { return ViewType(m_s); }
349 //! Constant view of the element
350 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
351 //! Mutable view of the element
352 constexpr ViewType view() { return ViewType(m_s); }
353};
354
355//! Geometric element of type GeomType::Pentaedron6
356using PentaElement = Pentaedron6Element;
357
358
359/*!
360 * \ingroup ArcaneGeometric
361 * \brief Geometric elements of type GeomType::Hexaedron8.
362 */
363class ARCANE_GEOMETRY_EXPORT Hexaedron8Element
364: public GeomElementBase< 8 >
365{
366 public:
367
368 using ConstViewType = Hexaedron8ElementConstView;
369 using ViewType = Hexaedron8ElementView;
370
371 public:
372
373 using GeomElementBase< 8 >::init;
374
375 Hexaedron8Element() = default;
376 Hexaedron8Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
377 constexpr Hexaedron8Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
378 Hexaedron8Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5, const Real3& a6, const Real3& a7)
379 {
380 m_s[0] = a0;
381 m_s[1] = a1;
382 m_s[2] = a2;
383 m_s[3] = a3;
384 m_s[4] = a4;
385 m_s[5] = a5;
386 m_s[6] = a6;
387 m_s[7] = a7;
388 }
389
390 //! Initializes the instance with the coordinates passed as arguments
391 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5, const Real3& a6, const Real3& a7)
392 {
393 m_s[0] = a0;
394 m_s[1] = a1;
395 m_s[2] = a2;
396 m_s[3] = a3;
397 m_s[4] = a4;
398 m_s[5] = a5;
399 m_s[6] = a6;
400 m_s[7] = a7;
401 }
402 //! Conversion operator to a constant view
403 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
404 //! Conversion operator to a mutable view
405 constexpr operator ViewType() { return ViewType(m_s); }
406 //! Constant view of the element
407 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
408 //! Mutable view of the element
409 constexpr ViewType view() { return ViewType(m_s); }
410};
411
412//! Geometric element of type GeomType::Hexaedron8
413using HexaElement = Hexaedron8Element;
414
415
416/*!
417 * \ingroup ArcaneGeometric
418 * \brief Geometric elements of type GeomType::Heptaedron10.
419 */
420class ARCANE_GEOMETRY_EXPORT Heptaedron10Element
421: public GeomElementBase< 10 >
422{
423 public:
424
425 using ConstViewType = Heptaedron10ElementConstView;
426 using ViewType = Heptaedron10ElementView;
427
428 public:
429
430 using GeomElementBase< 10 >::init;
431
432 Heptaedron10Element() = default;
433 Heptaedron10Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
434 constexpr Heptaedron10Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
435 Heptaedron10Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5, const Real3& a6, const Real3& a7, const Real3& a8, const Real3& a9)
436 {
437 m_s[0] = a0;
438 m_s[1] = a1;
439 m_s[2] = a2;
440 m_s[3] = a3;
441 m_s[4] = a4;
442 m_s[5] = a5;
443 m_s[6] = a6;
444 m_s[7] = a7;
445 m_s[8] = a8;
446 m_s[9] = a9;
447 }
448
449 //! Initializes the instance with the coordinates passed as arguments
450 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5, const Real3& a6, const Real3& a7, const Real3& a8, const Real3& a9)
451 {
452 m_s[0] = a0;
453 m_s[1] = a1;
454 m_s[2] = a2;
455 m_s[3] = a3;
456 m_s[4] = a4;
457 m_s[5] = a5;
458 m_s[6] = a6;
459 m_s[7] = a7;
460 m_s[8] = a8;
461 m_s[9] = a9;
462 }
463 //! Conversion operator to a constant view
464 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
465 //! Conversion operator to a mutable view
466 constexpr operator ViewType() { return ViewType(m_s); }
467 //! Constant view of the element
468 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
469 //! Mutable view of the element
470 constexpr ViewType view() { return ViewType(m_s); }
471};
472
473//! Geometric element of type GeomType::Heptaedron10
474using Wedge7Element = Heptaedron10Element;
475
476
477/*!
478 * \ingroup ArcaneGeometric
479 * \brief Geometric elements of type GeomType::Octaedron12.
480 */
481class ARCANE_GEOMETRY_EXPORT Octaedron12Element
482: public GeomElementBase< 12 >
483{
484 public:
485
486 using ConstViewType = Octaedron12ElementConstView;
487 using ViewType = Octaedron12ElementView;
488
489 public:
490
491 using GeomElementBase< 12 >::init;
492
493 Octaedron12Element() = default;
494 Octaedron12Element(const VariableNodeReal3& coords,ItemWithNodes item) : GeomElementBase(coords,item){}
495 constexpr Octaedron12Element(ConstArrayView<Real3> coords) : GeomElementBase(coords){}
496 Octaedron12Element(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5, const Real3& a6, const Real3& a7, const Real3& a8, const Real3& a9, const Real3& a10, const Real3& a11)
497 {
498 m_s[0] = a0;
499 m_s[1] = a1;
500 m_s[2] = a2;
501 m_s[3] = a3;
502 m_s[4] = a4;
503 m_s[5] = a5;
504 m_s[6] = a6;
505 m_s[7] = a7;
506 m_s[8] = a8;
507 m_s[9] = a9;
508 m_s[10] = a10;
509 m_s[11] = a11;
510 }
511
512 //! Initializes the instance with the coordinates passed as arguments
513 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5, const Real3& a6, const Real3& a7, const Real3& a8, const Real3& a9, const Real3& a10, const Real3& a11)
514 {
515 m_s[0] = a0;
516 m_s[1] = a1;
517 m_s[2] = a2;
518 m_s[3] = a3;
519 m_s[4] = a4;
520 m_s[5] = a5;
521 m_s[6] = a6;
522 m_s[7] = a7;
523 m_s[8] = a8;
524 m_s[9] = a9;
525 m_s[10] = a10;
526 m_s[11] = a11;
527 }
528 //! Conversion operator to a constant view
529 constexpr operator ConstViewType() const { return ConstViewType(m_s); }
530 //! Conversion operator to a mutable view
531 constexpr operator ViewType() { return ViewType(m_s); }
532 //! Constant view of the element
533 constexpr ConstViewType constView() const { return ConstViewType(m_s); }
534 //! Mutable view of the element
535 constexpr ViewType view() { return ViewType(m_s); }
536};
537
538//! Geometric element of type GeomType::Octaedron12
539using Wedge8Element = Octaedron12Element;
540
Constant view on geometric elements of type GeomType::Heptaedron10.
Modifiable view on geometric elements of type GeomType::Heptaedron10.
Geometric elements of type GeomType::Heptaedron10.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4, const Real3 &a5, const Real3 &a6, const Real3 &a7, const Real3 &a8, const Real3 &a9)
Initializes the instance with the coordinates passed as arguments.
constexpr ConstViewType constView() const
Constant view of the element.
constexpr ViewType view()
Mutable view of the element.
Constant view on geometric elements of type GeomType::Hexaedron8.
Modifiable view on geometric elements of type GeomType::Hexaedron8.
Geometric elements of type GeomType::Hexaedron8.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4, const Real3 &a5, const Real3 &a6, const Real3 &a7)
Initializes the instance with the coordinates passed as arguments.
constexpr ViewType view()
Mutable view of the element.
constexpr ConstViewType constView() const
Constant view of the element.
Constant view on geometric elements of type GeomType::Hexagon6.
Modifiable view on geometric elements of type GeomType::Hexagon6.
Geometric elements of type GeomType::Hexagon6.
constexpr ViewType view()
Mutable view of the element.
constexpr ConstViewType constView() const
Constant view of the element.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4, const Real3 &a5)
Initializes the instance with the coordinates passed as arguments.
Constant view on geometric elements of type GeomType::Octaedron12.
Modifiable view on geometric elements of type GeomType::Octaedron12.
Geometric elements of type GeomType::Octaedron12.
constexpr ConstViewType constView() const
Constant view of the element.
constexpr ViewType view()
Mutable view of the element.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4, const Real3 &a5, const Real3 &a6, const Real3 &a7, const Real3 &a8, const Real3 &a9, const Real3 &a10, const Real3 &a11)
Initializes the instance with the coordinates passed as arguments.
Constant view on geometric elements of type GeomType::Pentaedron6.
Modifiable view on geometric elements of type GeomType::Pentaedron6.
Geometric elements of type GeomType::Pentaedron6.
constexpr ConstViewType constView() const
Constant view of the element.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4, const Real3 &a5)
Initializes the instance with the coordinates passed as arguments.
constexpr ViewType view()
Mutable view of the element.
Constant view on geometric elements of type GeomType::Pentagon5.
Modifiable view on geometric elements of type GeomType::Pentagon5.
Geometric elements of type GeomType::Pentagon5.
constexpr ConstViewType constView() const
Constant view of the element.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4)
Initializes the instance with the coordinates passed as arguments.
constexpr ViewType view()
Mutable view of the element.
Constant view on geometric elements of type GeomType::Pyramid5.
Modifiable view on geometric elements of type GeomType::Pyramid5.
Geometric elements of type GeomType::Pyramid5.
constexpr ViewType view()
Mutable view of the element.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4)
Initializes the instance with the coordinates passed as arguments.
constexpr ConstViewType constView() const
Constant view of the element.
Constant view on geometric elements of type GeomType::Quad4.
Modifiable view on geometric elements of type GeomType::Quad4.
Geometric elements of type GeomType::Quad4.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3)
Initializes the instance with the coordinates passed as arguments.
constexpr ConstViewType constView() const
Constant view of the element.
constexpr ViewType view()
Mutable view of the element.
Constant view on geometric elements of type GeomType::Tetraedron4.
Modifiable view on geometric elements of type GeomType::Tetraedron4.
Geometric elements of type GeomType::Tetraedron4.
constexpr ConstViewType constView() const
Constant view of the element.
constexpr ViewType view()
Mutable view of the element.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3)
Initializes the instance with the coordinates passed as arguments.
Constant view on geometric elements of type GeomType::Triangle3.
Modifiable view on geometric elements of type GeomType::Triangle3.
Geometric elements of type GeomType::Triangle3.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2)
Initializes the instance with the coordinates passed as arguments.
constexpr ViewType view()
Mutable view of the element.
constexpr ConstViewType constView() const
Constant view of the element.