Arcane  4.2.3.0
User documentation
Loading...
Searching...
No Matches
GeneratedGeomElementView.h
1// WARNING: This file is generated by a tool. DO NOT EDIT.
2/*
3 * Génération des classes des vues sur les éléments géométriques (GeomElement).
4 */
5
6/*!
7 * \ingroup ArcaneGeometric
8 * \brief Constant view on geometric elements of type GeomType::Triangle3.
9 *
10 * It is possible to retrieve a view of this type via:
11 * - directly from an instance of Triangle3ShapeView.
12 * - directly from an instance of Triangle3Element
13 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
14 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
15 *
16 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
17 */
18class ARCANE_GEOMETRY_EXPORT Triangle3ElementConstView
19: public GeomElementConstViewBase
20{
21 public:
22
23 constexpr Triangle3ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
24 : GeomElementConstViewBase(ptr){}
25};
26
27/*!
28 * \ingroup ArcaneGeometric
29 * \brief Modifiable view on geometric elements of type GeomType::Triangle3.
30 *
31 * It is possible to retrieve a view of this type via:
32 * - directly from an instance of Triangle3Element
33 * - an instance of Triangle3Element via Triangle3ElementView::view()
34 *
35 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
36 */
37class ARCANE_GEOMETRY_EXPORT Triangle3ElementView
38: public GeomElementViewBase
39{
40 public:
41
42 using ConstViewType = Triangle3ElementConstView;
43
44 public:
45
46 //! Construct a view from the coordinates passed as arguments
47 constexpr Triangle3ElementView(ARCANE_RESTRICT Real3POD* ptr)
48 : GeomElementViewBase(ptr){}
49 //! Initializes the view with the coordinates passed as arguments
50 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2)
51 {
52 m_s[0] = a0;
53 m_s[1] = a1;
54 m_s[2] = a2;
55 }
56 //! Conversion operator to a constant view
57 constexpr operator Triangle3ElementConstView() const { return ConstViewType(m_s); }
58 //! Constant view on the element
59 constexpr Triangle3ElementConstView constView() const { return ConstViewType(m_s); }
60};
61
62//! View on an element of type GeomType::Triangle3
63using TriangleElementView = Triangle3ElementView ;
64//! Constant view on an element of type GeomType::Triangle3
65using TriangleElementConstView = Triangle3ElementConstView ;
66
67
68/*!
69 * \ingroup ArcaneGeometric
70 * \brief Constant view on geometric elements of type GeomType::Quad4.
71 *
72 * It is possible to retrieve a view of this type via:
73 * - directly from an instance of Triangle3ShapeView.
74 * - directly from an instance of Triangle3Element
75 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
76 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
77 *
78 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
79 */
80class ARCANE_GEOMETRY_EXPORT Quad4ElementConstView
81: public GeomElementConstViewBase
82{
83 public:
84
85 constexpr Quad4ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
86 : GeomElementConstViewBase(ptr){}
87};
88
89/*!
90 * \ingroup ArcaneGeometric
91 * \brief Modifiable view on geometric elements of type GeomType::Quad4.
92 *
93 * It is possible to retrieve a view of this type via:
94 * - directly from an instance of Triangle3Element
95 * - an instance of Triangle3Element via Triangle3ElementView::view()
96 *
97 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
98 */
99class ARCANE_GEOMETRY_EXPORT Quad4ElementView
100: public GeomElementViewBase
101{
102 public:
103
104 using ConstViewType = Quad4ElementConstView;
105
106 public:
107
108 //! Construct a view from the coordinates passed as arguments
109 constexpr Quad4ElementView(ARCANE_RESTRICT Real3POD* ptr)
110 : GeomElementViewBase(ptr){}
111 //! Initializes the view with the coordinates passed as arguments
112 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3)
113 {
114 m_s[0] = a0;
115 m_s[1] = a1;
116 m_s[2] = a2;
117 m_s[3] = a3;
118 }
119 //! Conversion operator to a constant view
120 constexpr operator Quad4ElementConstView() const { return ConstViewType(m_s); }
121 //! Constant view on the element
122 constexpr Quad4ElementConstView constView() const { return ConstViewType(m_s); }
123};
124
125//! View on an element of type GeomType::Quad4
126using QuadElementView = Quad4ElementView ;
127//! Constant view on an element of type GeomType::Quad4
128using QuadElementConstView = Quad4ElementConstView ;
129
130
131/*!
132 * \ingroup ArcaneGeometric
133 * \brief Constant view on geometric elements of type GeomType::Pentagon5.
134 *
135 * It is possible to retrieve a view of this type via:
136 * - directly from an instance of Triangle3ShapeView.
137 * - directly from an instance of Triangle3Element
138 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
139 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
140 *
141 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
142 */
143class ARCANE_GEOMETRY_EXPORT Pentagon5ElementConstView
144: public GeomElementConstViewBase
145{
146 public:
147
148 constexpr Pentagon5ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
149 : GeomElementConstViewBase(ptr){}
150};
151
152/*!
153 * \ingroup ArcaneGeometric
154 * \brief Modifiable view on geometric elements of type GeomType::Pentagon5.
155 *
156 * It is possible to retrieve a view of this type via:
157 * - directly from an instance of Triangle3Element
158 * - an instance of Triangle3Element via Triangle3ElementView::view()
159 *
160 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
161 */
162class ARCANE_GEOMETRY_EXPORT Pentagon5ElementView
163: public GeomElementViewBase
164{
165 public:
166
167 using ConstViewType = Pentagon5ElementConstView;
168
169 public:
170
171 //! Construct a view from the coordinates passed as arguments
172 constexpr Pentagon5ElementView(ARCANE_RESTRICT Real3POD* ptr)
173 : GeomElementViewBase(ptr){}
174 //! Initializes the view with the coordinates passed as arguments
175 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4)
176 {
177 m_s[0] = a0;
178 m_s[1] = a1;
179 m_s[2] = a2;
180 m_s[3] = a3;
181 m_s[4] = a4;
182 }
183 //! Conversion operator to a constant view
184 constexpr operator Pentagon5ElementConstView() const { return ConstViewType(m_s); }
185 //! Constant view on the element
186 constexpr Pentagon5ElementConstView constView() const { return ConstViewType(m_s); }
187};
188
189//! View on an element of type GeomType::Pentagon5
190using PentagonElementView = Pentagon5ElementView ;
191//! Constant view on an element of type GeomType::Pentagon5
192using PentagonElementConstView = Pentagon5ElementConstView ;
193
194
195/*!
196 * \ingroup ArcaneGeometric
197 * \brief Constant view on geometric elements of type GeomType::Hexagon6.
198 *
199 * It is possible to retrieve a view of this type via:
200 * - directly from an instance of Triangle3ShapeView.
201 * - directly from an instance of Triangle3Element
202 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
203 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
204 *
205 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
206 */
207class ARCANE_GEOMETRY_EXPORT Hexagon6ElementConstView
208: public GeomElementConstViewBase
209{
210 public:
211
212 constexpr Hexagon6ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
213 : GeomElementConstViewBase(ptr){}
214};
215
216/*!
217 * \ingroup ArcaneGeometric
218 * \brief Modifiable view on geometric elements of type GeomType::Hexagon6.
219 *
220 * It is possible to retrieve a view of this type via:
221 * - directly from an instance of Triangle3Element
222 * - an instance of Triangle3Element via Triangle3ElementView::view()
223 *
224 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
225 */
226class ARCANE_GEOMETRY_EXPORT Hexagon6ElementView
227: public GeomElementViewBase
228{
229 public:
230
231 using ConstViewType = Hexagon6ElementConstView;
232
233 public:
234
235 //! Construct a view from the coordinates passed as arguments
236 constexpr Hexagon6ElementView(ARCANE_RESTRICT Real3POD* ptr)
237 : GeomElementViewBase(ptr){}
238 //! Initializes the view with the coordinates passed as arguments
239 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5)
240 {
241 m_s[0] = a0;
242 m_s[1] = a1;
243 m_s[2] = a2;
244 m_s[3] = a3;
245 m_s[4] = a4;
246 m_s[5] = a5;
247 }
248 //! Conversion operator to a constant view
249 constexpr operator Hexagon6ElementConstView() const { return ConstViewType(m_s); }
250 //! Constant view on the element
251 constexpr Hexagon6ElementConstView constView() const { return ConstViewType(m_s); }
252};
253
254//! View on an element of type GeomType::Hexagon6
255using HexagonElementView = Hexagon6ElementView ;
256//! Constant view on an element of type GeomType::Hexagon6
257using HexagonElementConstView = Hexagon6ElementConstView ;
258
259
260/*!
261 * \ingroup ArcaneGeometric
262 * \brief Constant view on geometric elements of type GeomType::Tetraedron4.
263 *
264 * It is possible to retrieve a view of this type via:
265 * - directly from an instance of Triangle3ShapeView.
266 * - directly from an instance of Triangle3Element
267 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
268 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
269 *
270 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
271 */
272class ARCANE_GEOMETRY_EXPORT Tetraedron4ElementConstView
273: public GeomElementConstViewBase
274{
275 public:
276
277 constexpr Tetraedron4ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
278 : GeomElementConstViewBase(ptr){}
279};
280
281/*!
282 * \ingroup ArcaneGeometric
283 * \brief Modifiable view on geometric elements of type GeomType::Tetraedron4.
284 *
285 * It is possible to retrieve a view of this type via:
286 * - directly from an instance of Triangle3Element
287 * - an instance of Triangle3Element via Triangle3ElementView::view()
288 *
289 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
290 */
291class ARCANE_GEOMETRY_EXPORT Tetraedron4ElementView
292: public GeomElementViewBase
293{
294 public:
295
296 using ConstViewType = Tetraedron4ElementConstView;
297
298 public:
299
300 //! Construct a view from the coordinates passed as arguments
301 constexpr Tetraedron4ElementView(ARCANE_RESTRICT Real3POD* ptr)
302 : GeomElementViewBase(ptr){}
303 //! Initializes the view with the coordinates passed as arguments
304 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3)
305 {
306 m_s[0] = a0;
307 m_s[1] = a1;
308 m_s[2] = a2;
309 m_s[3] = a3;
310 }
311 //! Conversion operator to a constant view
312 constexpr operator Tetraedron4ElementConstView() const { return ConstViewType(m_s); }
313 //! Constant view on the element
314 constexpr Tetraedron4ElementConstView constView() const { return ConstViewType(m_s); }
315};
316
317//! View on an element of type GeomType::Tetraedron4
318using TetraElementView = Tetraedron4ElementView ;
319//! Constant view on an element of type GeomType::Tetraedron4
320using TetraElementConstView = Tetraedron4ElementConstView ;
321
322
323/*!
324 * \ingroup ArcaneGeometric
325 * \brief Constant view on geometric elements of type GeomType::Pyramid5.
326 *
327 * It is possible to retrieve a view of this type via:
328 * - directly from an instance of Triangle3ShapeView.
329 * - directly from an instance of Triangle3Element
330 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
331 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
332 *
333 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
334 */
335class ARCANE_GEOMETRY_EXPORT Pyramid5ElementConstView
336: public GeomElementConstViewBase
337{
338 public:
339
340 constexpr Pyramid5ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
341 : GeomElementConstViewBase(ptr){}
342};
343
344/*!
345 * \ingroup ArcaneGeometric
346 * \brief Modifiable view on geometric elements of type GeomType::Pyramid5.
347 *
348 * It is possible to retrieve a view of this type via:
349 * - directly from an instance of Triangle3Element
350 * - an instance of Triangle3Element via Triangle3ElementView::view()
351 *
352 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
353 */
354class ARCANE_GEOMETRY_EXPORT Pyramid5ElementView
355: public GeomElementViewBase
356{
357 public:
358
359 using ConstViewType = Pyramid5ElementConstView;
360
361 public:
362
363 //! Construct a view from the coordinates passed as arguments
364 constexpr Pyramid5ElementView(ARCANE_RESTRICT Real3POD* ptr)
365 : GeomElementViewBase(ptr){}
366 //! Initializes the view with the coordinates passed as arguments
367 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4)
368 {
369 m_s[0] = a0;
370 m_s[1] = a1;
371 m_s[2] = a2;
372 m_s[3] = a3;
373 m_s[4] = a4;
374 }
375 //! Conversion operator to a constant view
376 constexpr operator Pyramid5ElementConstView() const { return ConstViewType(m_s); }
377 //! Constant view on the element
378 constexpr Pyramid5ElementConstView constView() const { return ConstViewType(m_s); }
379};
380
381//! View on an element of type GeomType::Pyramid5
382using PyramidElementView = Pyramid5ElementView ;
383//! Constant view on an element of type GeomType::Pyramid5
384using PyramidElementConstView = Pyramid5ElementConstView ;
385
386
387/*!
388 * \ingroup ArcaneGeometric
389 * \brief Constant view on geometric elements of type GeomType::Pentaedron6.
390 *
391 * It is possible to retrieve a view of this type via:
392 * - directly from an instance of Triangle3ShapeView.
393 * - directly from an instance of Triangle3Element
394 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
395 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
396 *
397 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
398 */
399class ARCANE_GEOMETRY_EXPORT Pentaedron6ElementConstView
400: public GeomElementConstViewBase
401{
402 public:
403
404 constexpr Pentaedron6ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
405 : GeomElementConstViewBase(ptr){}
406};
407
408/*!
409 * \ingroup ArcaneGeometric
410 * \brief Modifiable view on geometric elements of type GeomType::Pentaedron6.
411 *
412 * It is possible to retrieve a view of this type via:
413 * - directly from an instance of Triangle3Element
414 * - an instance of Triangle3Element via Triangle3ElementView::view()
415 *
416 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
417 */
418class ARCANE_GEOMETRY_EXPORT Pentaedron6ElementView
419: public GeomElementViewBase
420{
421 public:
422
423 using ConstViewType = Pentaedron6ElementConstView;
424
425 public:
426
427 //! Construct a view from the coordinates passed as arguments
428 constexpr Pentaedron6ElementView(ARCANE_RESTRICT Real3POD* ptr)
429 : GeomElementViewBase(ptr){}
430 //! Initializes the view with the coordinates passed as arguments
431 constexpr void init(const Real3& a0, const Real3& a1, const Real3& a2, const Real3& a3, const Real3& a4, const Real3& a5)
432 {
433 m_s[0] = a0;
434 m_s[1] = a1;
435 m_s[2] = a2;
436 m_s[3] = a3;
437 m_s[4] = a4;
438 m_s[5] = a5;
439 }
440 //! Conversion operator to a constant view
441 constexpr operator Pentaedron6ElementConstView() const { return ConstViewType(m_s); }
442 //! Constant view on the element
443 constexpr Pentaedron6ElementConstView constView() const { return ConstViewType(m_s); }
444};
445
446//! View on an element of type GeomType::Pentaedron6
447using PentaElementView = Pentaedron6ElementView ;
448//! Constant view on an element of type GeomType::Pentaedron6
449using PentaElementConstView = Pentaedron6ElementConstView ;
450
451
452/*!
453 * \ingroup ArcaneGeometric
454 * \brief Constant view on geometric elements of type GeomType::Hexaedron8.
455 *
456 * It is possible to retrieve a view of this type via:
457 * - directly from an instance of Triangle3ShapeView.
458 * - directly from an instance of Triangle3Element
459 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
460 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
461 *
462 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
463 */
464class ARCANE_GEOMETRY_EXPORT Hexaedron8ElementConstView
465: public GeomElementConstViewBase
466{
467 public:
468
469 constexpr Hexaedron8ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
470 : GeomElementConstViewBase(ptr){}
471};
472
473/*!
474 * \ingroup ArcaneGeometric
475 * \brief Modifiable view on geometric elements of type GeomType::Hexaedron8.
476 *
477 * It is possible to retrieve a view of this type via:
478 * - directly from an instance of Triangle3Element
479 * - an instance of Triangle3Element via Triangle3ElementView::view()
480 *
481 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
482 */
483class ARCANE_GEOMETRY_EXPORT Hexaedron8ElementView
484: public GeomElementViewBase
485{
486 public:
487
488 using ConstViewType = Hexaedron8ElementConstView;
489
490 public:
491
492 //! Construct a view from the coordinates passed as arguments
493 constexpr Hexaedron8ElementView(ARCANE_RESTRICT Real3POD* ptr)
494 : GeomElementViewBase(ptr){}
495 //! Initializes the view with the coordinates passed as arguments
496 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)
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 }
507 //! Conversion operator to a constant view
508 constexpr operator Hexaedron8ElementConstView() const { return ConstViewType(m_s); }
509 //! Constant view on the element
510 constexpr Hexaedron8ElementConstView constView() const { return ConstViewType(m_s); }
511};
512
513//! View on an element of type GeomType::Hexaedron8
514using HexaElementView = Hexaedron8ElementView ;
515//! Constant view on an element of type GeomType::Hexaedron8
516using HexaElementConstView = Hexaedron8ElementConstView ;
517
518
519/*!
520 * \ingroup ArcaneGeometric
521 * \brief Constant view on geometric elements of type GeomType::Heptaedron10.
522 *
523 * It is possible to retrieve a view of this type via:
524 * - directly from an instance of Triangle3ShapeView.
525 * - directly from an instance of Triangle3Element
526 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
527 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
528 *
529 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
530 */
531class ARCANE_GEOMETRY_EXPORT Heptaedron10ElementConstView
532: public GeomElementConstViewBase
533{
534 public:
535
536 constexpr Heptaedron10ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
537 : GeomElementConstViewBase(ptr){}
538};
539
540/*!
541 * \ingroup ArcaneGeometric
542 * \brief Modifiable view on geometric elements of type GeomType::Heptaedron10.
543 *
544 * It is possible to retrieve a view of this type via:
545 * - directly from an instance of Triangle3Element
546 * - an instance of Triangle3Element via Triangle3ElementView::view()
547 *
548 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
549 */
550class ARCANE_GEOMETRY_EXPORT Heptaedron10ElementView
551: public GeomElementViewBase
552{
553 public:
554
555 using ConstViewType = Heptaedron10ElementConstView;
556
557 public:
558
559 //! Construct a view from the coordinates passed as arguments
560 constexpr Heptaedron10ElementView(ARCANE_RESTRICT Real3POD* ptr)
561 : GeomElementViewBase(ptr){}
562 //! Initializes the view with the coordinates passed as arguments
563 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)
564 {
565 m_s[0] = a0;
566 m_s[1] = a1;
567 m_s[2] = a2;
568 m_s[3] = a3;
569 m_s[4] = a4;
570 m_s[5] = a5;
571 m_s[6] = a6;
572 m_s[7] = a7;
573 m_s[8] = a8;
574 m_s[9] = a9;
575 }
576 //! Conversion operator to a constant view
577 constexpr operator Heptaedron10ElementConstView() const { return ConstViewType(m_s); }
578 //! Constant view on the element
579 constexpr Heptaedron10ElementConstView constView() const { return ConstViewType(m_s); }
580};
581
582//! View on an element of type GeomType::Heptaedron10
583using Wedge7ElementView = Heptaedron10ElementView ;
584//! Constant view on an element of type GeomType::Heptaedron10
585using Wedge7ElementConstView = Heptaedron10ElementConstView ;
586
587
588/*!
589 * \ingroup ArcaneGeometric
590 * \brief Constant view on geometric elements of type GeomType::Octaedron12.
591 *
592 * It is possible to retrieve a view of this type via:
593 * - directly from an instance of Triangle3ShapeView.
594 * - directly from an instance of Triangle3Element
595 * - an instance of Triangle3ElementView via Triangle3ElementView::constView()
596 * - an instance of GeomShapeView via GeomShapeView::toTriangle3Element()
597 *
598 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
599 */
600class ARCANE_GEOMETRY_EXPORT Octaedron12ElementConstView
601: public GeomElementConstViewBase
602{
603 public:
604
605 constexpr Octaedron12ElementConstView(ARCANE_RESTRICT const Real3POD* ptr)
606 : GeomElementConstViewBase(ptr){}
607};
608
609/*!
610 * \ingroup ArcaneGeometric
611 * \brief Modifiable view on geometric elements of type GeomType::Octaedron12.
612 *
613 * It is possible to retrieve a view of this type via:
614 * - directly from an instance of Triangle3Element
615 * - an instance of Triangle3Element via Triangle3ElementView::view()
616 *
617 * For more information on usage, refer to \ref arcanedoc_cea_geometric_viewusage.
618 */
619class ARCANE_GEOMETRY_EXPORT Octaedron12ElementView
620: public GeomElementViewBase
621{
622 public:
623
624 using ConstViewType = Octaedron12ElementConstView;
625
626 public:
627
628 //! Construct a view from the coordinates passed as arguments
629 constexpr Octaedron12ElementView(ARCANE_RESTRICT Real3POD* ptr)
630 : GeomElementViewBase(ptr){}
631 //! Initializes the view with the coordinates passed as arguments
632 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)
633 {
634 m_s[0] = a0;
635 m_s[1] = a1;
636 m_s[2] = a2;
637 m_s[3] = a3;
638 m_s[4] = a4;
639 m_s[5] = a5;
640 m_s[6] = a6;
641 m_s[7] = a7;
642 m_s[8] = a8;
643 m_s[9] = a9;
644 m_s[10] = a10;
645 m_s[11] = a11;
646 }
647 //! Conversion operator to a constant view
648 constexpr operator Octaedron12ElementConstView() const { return ConstViewType(m_s); }
649 //! Constant view on the element
650 constexpr Octaedron12ElementConstView constView() const { return ConstViewType(m_s); }
651};
652
653//! View on an element of type GeomType::Octaedron12
654using Wedge8ElementView = Octaedron12ElementView ;
655//! Constant view on an element of type GeomType::Octaedron12
656using Wedge8ElementConstView = Octaedron12ElementConstView ;
657
Constant view on geometric elements of type GeomType::Heptaedron10.
Modifiable view on geometric elements of type GeomType::Heptaedron10.
constexpr Heptaedron10ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
constexpr Heptaedron10ElementConstView constView() const
Constant view on 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)
Initializes the view with the coordinates passed as arguments.
Constant view on geometric elements of type GeomType::Hexaedron8.
Modifiable view on geometric elements of type GeomType::Hexaedron8.
constexpr Hexaedron8ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
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 view with the coordinates passed as arguments.
constexpr Hexaedron8ElementConstView constView() const
Constant view on the element.
Constant view on geometric elements of type GeomType::Hexagon6.
Modifiable view on geometric elements of type GeomType::Hexagon6.
constexpr Hexagon6ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4, const Real3 &a5)
Initializes the view with the coordinates passed as arguments.
constexpr Hexagon6ElementConstView constView() const
Constant view on the element.
Constant view on geometric elements of type GeomType::Octaedron12.
Modifiable view on geometric elements of type GeomType::Octaedron12.
constexpr Octaedron12ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
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 view with the coordinates passed as arguments.
constexpr Octaedron12ElementConstView constView() const
Constant view on the element.
Constant view on geometric elements of type GeomType::Pentaedron6.
Modifiable view on geometric elements of type GeomType::Pentaedron6.
constexpr Pentaedron6ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4, const Real3 &a5)
Initializes the view with the coordinates passed as arguments.
constexpr Pentaedron6ElementConstView constView() const
Constant view on the element.
Constant view on geometric elements of type GeomType::Pentagon5.
Modifiable view on geometric elements of type GeomType::Pentagon5.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4)
Initializes the view with the coordinates passed as arguments.
constexpr Pentagon5ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
constexpr Pentagon5ElementConstView constView() const
Constant view on the element.
Constant view on geometric elements of type GeomType::Pyramid5.
Modifiable view on geometric elements of type GeomType::Pyramid5.
constexpr Pyramid5ElementConstView constView() const
Constant view on the element.
constexpr Pyramid5ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3, const Real3 &a4)
Initializes the view with the coordinates passed as arguments.
Constant view on geometric elements of type GeomType::Quad4.
Modifiable view on geometric elements of type GeomType::Quad4.
constexpr Quad4ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3)
Initializes the view with the coordinates passed as arguments.
constexpr Quad4ElementConstView constView() const
Constant view on the element.
Constant view on geometric elements of type GeomType::Tetraedron4.
Modifiable view on geometric elements of type GeomType::Tetraedron4.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2, const Real3 &a3)
Initializes the view with the coordinates passed as arguments.
constexpr Tetraedron4ElementConstView constView() const
Constant view on the element.
constexpr Tetraedron4ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.
Constant view on geometric elements of type GeomType::Triangle3.
Modifiable view on geometric elements of type GeomType::Triangle3.
constexpr void init(const Real3 &a0, const Real3 &a1, const Real3 &a2)
Initializes the view with the coordinates passed as arguments.
constexpr Triangle3ElementConstView constView() const
Constant view on the element.
constexpr Triangle3ElementView(ARCANE_RESTRICT Real3POD *ptr)
Construct a view from the coordinates passed as arguments.