Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
MeshVariableInfo.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* MeshVariableInfo.h (C) 2000-2025 */
9/* */
10/* Generic information for mesh variables. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_MESHVARIABLEINFO_H
13#define ARCANE_CORE_MESHVARIABLEINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/core/MeshVariableRef.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28/*!
29 * \brief Generic information about the types of a mesh variable.
30 *
31 * This class must be specialized for each variable type:
32 * - \a MeshItem entity type: Cell, Node or Face
33 * - \a ValueType variable type: Real, Int64, Int32, Real3, Real3x3
34 * - \a Dimension variable dimension: 0 for scalars, 1 for arrays.
35 */
36template <class MeshItem, class ValueType, int Dimension>
38{
39};
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
43
44template <>
46{
47 public:
48
49 //! Type of the variable reference
51 //! Type of the private part of the variable
53};
54template <>
56{
57 public:
58
59 //! Type of the variable reference
61 //! Type of the private part of the variable
63};
64template <>
66{
67 public:
68
69 //! Type of the variable reference
71 //! Type of the private part of the variable
73};
74template <>
76{
77 public:
78
79 //! Type of the variable reference
81 //! Type of the private part of the variable
83};
84template <>
86{
87 public:
88
89 //! Type of the variable reference
91 //! Type of the private part of the variable
93};
94template <>
96{
97 public:
98
99 //! Type of the variable reference
101 //! Type of the private part of the variable
103};
104template <>
106{
107 public:
108
109 //! Type of the variable reference
111 //! Type of the private part of the variable
113};
114template <>
116{
117 public:
118
119 //! Type of the variable reference
121 //! Type of the private part of the variable
123};
124template <>
126{
127 public:
128
129 //! Type of the variable reference
131 //! Type of the private part of the variable
133};
134template <>
136{
137 public:
138
139 //! Type of the variable reference
141 //! Type of the private part of the variable
143};
144template <>
146{
147 public:
148
149 //! Type of the variable reference
151 //! Type of the private part of the variable
153};
154template <>
156{
157 public:
158
159 //! Type of the variable reference
161 //! Type of the private part of the variable
163};
164template <>
166{
167 public:
168
169 //! Type of the variable reference
171 //! Type of the private part of the variable
173};
174template <>
176{
177 public:
178
179 //! Type of the variable reference
181 //! Type of the private part of the variable
183};
184
185/*---------------------------------------------------------------------------*/
186/*---------------------------------------------------------------------------*/
187
188template <>
190{
191 public:
192
193 //! Type of the variable reference
195 //! Type of the private part of the variable
197};
198template <>
200{
201 public:
202
203 //! Type of the variable reference
205 //! Type of the private part of the variable
207};
208template <>
210{
211 public:
212
213 //! Type of the variable reference
215 //! Type of the private part of the variable
217};
218template <>
220{
221 public:
222
223 //! Type of the variable reference
225 //! Type of the private part of the variable
227};
228template <>
230{
231 public:
232
233 //! Type of the variable reference
235 //! Type of the private part of the variable
237};
238template <>
240{
241 public:
242
243 //! Type of the variable reference
245 //! Type of the private part of the variable
247};
248template <>
250{
251 public:
252
253 //! Type of the variable reference
255 //! Type of the private part of the variable
257};
258template <>
260{
261 public:
262
263 //! Type of the variable reference
265 //! Type of the private part of the variable
267};
268template <>
270{
271 public:
272
273 //! Type of the variable reference
275 //! Type of the private part of the variable
277};
278template <>
280{
281 public:
282
283 //! Type of the variable reference
285 //! Type of the private part of the variable
287};
288template <>
290{
291 public:
292
293 //! Type of the variable reference
295 //! Type of the private part of the variable
297};
298template <>
300{
301 public:
302
303 //! Type of the variable reference
305 //! Type of the private part of the variable
307};
308template <>
310{
311 public:
312
313 //! Type of the variable reference
315 //! Type of the private part of the variable
317};
318template <>
320{
321 public:
322
323 //! Type of the variable reference
325 //! Type of the private part of the variable
327};
328
329/*---------------------------------------------------------------------------*/
330/*---------------------------------------------------------------------------*/
331
332template <>
334{
335 public:
336
337 //! Type of the variable reference
339 //! Type of the private part of the variable
341};
342template <>
344{
345 public:
346
347 //! Type of the variable reference
349 //! Type of the private part of the variable
351};
352template <>
354{
355 public:
356
357 //! Type of the variable reference
359 //! Type of the private part of the variable
361};
362template <>
364{
365 public:
366
367 //! Type of the variable reference
369 //! Type of the private part of the variable
371};
372template <>
374{
375 public:
376
377 //! Type of the variable reference
379 //! Type of the private part of the variable
381};
382template <>
384{
385 public:
386
387 //! Type of the variable reference
389 //! Type of the variable's private part
391};
392template <>
394{
395 public:
396
397 //! Type of the variable reference
399 //! Type of the variable's private part
401};
402template <>
404{
405 public:
406
407 //! Type of the variable reference
409 //! Type of the variable's private part
411};
412template <>
414{
415 public:
416
417 //! Type of the variable reference
419 //! Type of the variable's private part
421};
422template <>
424{
425 public:
426
427 //! Type of the variable reference
429 //! Type of the variable's private part
431};
432template <>
434{
435 public:
436
437 //! Type of the variable reference
439 //! Type of the variable's private part
441};
442template <>
444{
445 public:
446
447 //! Type of the variable reference
449 //! Type of the variable's private part
451};
452template <>
454{
455 public:
456
457 //! Type of the variable reference
459 //! Type of the variable's private part
461};
462template <>
464{
465 public:
466
467 //! Type of the variable reference
469 //! Type of the variable's private part
471};
472
473/*---------------------------------------------------------------------------*/
474/*---------------------------------------------------------------------------*/
475
476template <>
478{
479 public:
480
481 //! Type of the variable reference
483 //! Type of the variable's private part
485};
486template <>
488{
489 public:
490
491 //! Type of the variable reference
493 //! Type of the variable's private part
495};
496template <>
498{
499 public:
500
501 //! Type of the variable reference
503 //! Type of the variable's private part
505};
506template <>
508{
509 public:
510
511 //! Type of the variable reference
513 //! Type of the variable's private part
515};
516template <>
518{
519 public:
520
521 //! Type of the variable reference
523 //! Type of the variable's private part
525};
526template <>
528{
529 public:
530
531 //! Type of the variable reference
533 //! Type of the variable's private part
535};
536template <>
538{
539 public:
540
541 //! Type of the variable reference
543 //! Type of the variable's private part
545};
546template <>
548{
549 public:
550
551 //! Type of the variable reference
553 //! Type of the variable's private part
555};
556template <>
558{
559 public:
560
561 //! Type of the variable reference
563 //! Type of the variable's private part
565};
566template <>
568{
569 public:
570
571 //! Type of the variable reference
573 //! Type of the variable's private part
575};
576template <>
578{
579 public:
580
581 //! Type of the variable reference
583 //! Type of the variable's private part
585};
586template <>
588{
589 public:
590
591 //! Type of the variable reference
593 //! Type of the variable's private part
595};
596template <>
598{
599 public:
600
601 //! Type of the variable reference
603 //! Type of the variable's private part
605};
606template <>
608{
609 public:
610
611 //! Type of the variable reference
613 //! Type of the variable's private part
615};
616
617/*---------------------------------------------------------------------------*/
618/*---------------------------------------------------------------------------*/
619
620template <>
622{
623 public:
624
625 //! Type of the variable reference
627 //! Type of the variable's private part
629};
630template <>
632{
633 public:
634
635 //! Type of the variable reference
637 //! Type of the variable's private part
639};
640template <>
642{
643 public:
644
645 //! Type of the variable reference
647 //! Type of the variable's private part
649};
650template <>
652{
653 public:
654
655 //! Type of the variable reference
657 //! Type of the variable's private part
659};
660template <>
662{
663 public:
664
665 //! Type of the variable reference
667 //! Type of the variable's private part
669};
670template <>
672{
673 public:
674
675 //! Type of the variable reference
677 //! Type of the variable's private part
679};
680template <>
682{
683 public:
684
685 //! Type of the variable reference
687 //! Type of the variable's private part
689};
690template <>
692{
693 public:
694
695 //! Type of the variable reference
697 //! Type of the variable's private part
699};
700template <>
702{
703 public:
704
705 //! Type of the variable reference
707 //! Type of the variable's private part
709};
710template <>
712{
713 public:
714
715 //! Type of the variable reference
717 //! Type of the variable's private part
719};
720template <>
722{
723 public:
724
725 //! Type of the variable reference
727 //! Type of the variable's private part
729};
730template <>
732{
733 public:
734
735 //! Type of the variable reference
737 //! Type of the variable's private part
739};
740template <>
742{
743 public:
744
745 //! Type of the variable reference
747 //! Type of the variable's private part
749};
750template <>
752{
753 public:
754
755 //! Type of the variable reference
757 //! Type of the variable's private part
759};
760
761/*---------------------------------------------------------------------------*/
762/*---------------------------------------------------------------------------*/
763
764} // namespace Arcane
765
766/*---------------------------------------------------------------------------*/
767/*---------------------------------------------------------------------------*/
768
769#endif
Cell of a mesh.
Definition Item.h:1300
degree of freedom class.
Definition Item.h:1649
Edge of a cell.
Definition Item.h:875
Face of a cell.
Definition Item.h:1032
Array variable on a mesh entity type.
MeshVariableScalarRefT< Cell, Int32 > RefType
Type of the variable reference.
VariableArrayT< Int32 > PrivateType
Type of the variable's private part.
Array2VariableT< Int32 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Cell, Int32 > RefType
Type of the variable reference.
VariableArrayT< Int64 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< Cell, Int64 > RefType
Type of the variable reference.
MeshVariableArrayRefT< Cell, Int64 > RefType
Type of the variable reference.
Array2VariableT< Int64 > PrivateType
Type of the variable's private part.
VariableArrayT< Real2 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< Cell, Real2 > RefType
Type of the variable reference.
Array2VariableT< Real2 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Cell, Real2 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Cell, Real2x2 > RefType
Type of the variable reference.
VariableArrayT< Real2x2 > PrivateType
Type of the variable's private part.
Array2VariableT< Real2x2 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Cell, Real2x2 > RefType
Type of the variable reference.
VariableArrayT< Real3 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< Cell, Real3 > RefType
Type of the variable reference.
Array2VariableT< Real3 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Cell, Real3 > RefType
Type of the variable reference.
VariableArrayT< Real3x3 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< Cell, Real3x3 > RefType
Type of the variable reference.
MeshVariableArrayRefT< Cell, Real3x3 > RefType
Type of the variable reference.
Array2VariableT< Real3x3 > PrivateType
Type of the variable's private part.
VariableArrayT< Real > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< Cell, Real > RefType
Type of the variable reference.
MeshVariableArrayRefT< Cell, Real > RefType
Type of the variable reference.
Array2VariableT< Real > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< DoF, Int32 > RefType
Type of the variable reference.
VariableArrayT< Int32 > PrivateType
Type of the variable's private part.
Array2VariableT< Int32 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< DoF, Int32 > RefType
Type of the variable reference.
VariableArrayT< Int64 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< DoF, Int64 > RefType
Type of the variable reference.
MeshVariableArrayRefT< DoF, Int64 > RefType
Type of the variable reference.
Array2VariableT< Int64 > PrivateType
Type of the variable's private part.
VariableArrayT< Real2 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< DoF, Real2 > RefType
Type of the variable reference.
Array2VariableT< Real2 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< DoF, Real2 > RefType
Type of the variable reference.
VariableArrayT< Real2x2 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< DoF, Real2x2 > RefType
Type of the variable reference.
Array2VariableT< Real2x2 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< DoF, Real2x2 > RefType
Type of the variable reference.
MeshVariableScalarRefT< DoF, Real3 > RefType
Type of the variable reference.
VariableArrayT< Real3 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< DoF, Real3 > RefType
Type of the variable reference.
Array2VariableT< Real3 > PrivateType
Type of the variable's private part.
VariableArrayT< Real3x3 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< DoF, Real3x3 > RefType
Type of the variable reference.
MeshVariableArrayRefT< DoF, Real3x3 > RefType
Type of the variable reference.
Array2VariableT< Real3x3 > PrivateType
Type of the variable's private part.
VariableArrayT< Real > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< DoF, Real > RefType
Type of the variable reference.
MeshVariableArrayRefT< DoF, Real > RefType
Type of the variable reference.
Array2VariableT< Real > PrivateType
Type of the variable's private part.
VariableArrayT< Int32 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Edge, Int32 > RefType
Type of the variable reference.
MeshVariableArrayRefT< Edge, Int32 > RefType
Type of the variable reference.
Array2VariableT< Int32 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Edge, Int64 > RefType
Type of the variable reference.
VariableArrayT< Int64 > PrivateType
Type of the private part of the variable.
Array2VariableT< Int64 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Edge, Int64 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Edge, Real2 > RefType
Type of the variable reference.
VariableArrayT< Real2 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Edge, Real2 > RefType
Type of the variable reference.
Array2VariableT< Real2 > PrivateType
Type of the private part of the variable.
VariableArrayT< Real2x2 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Edge, Real2x2 > RefType
Type of the variable reference.
Array2VariableT< Real2x2 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Edge, Real2x2 > RefType
Type of the variable reference.
VariableArrayT< Real3 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Edge, Real3 > RefType
Type of the variable reference.
Array2VariableT< Real3 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Edge, Real3 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Edge, Real3x3 > RefType
Type of the variable reference.
VariableArrayT< Real3x3 > PrivateType
Type of the private part of the variable.
Array2VariableT< Real3x3 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Edge, Real3x3 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Edge, Real > RefType
Type of the variable reference.
VariableArrayT< Real > PrivateType
Type of the private part of the variable.
Array2VariableT< Real > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Edge, Real > RefType
Type of the variable reference.
VariableArrayT< Int32 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< Face, Int32 > RefType
Type of the variable reference.
Array2VariableT< Int32 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Face, Int32 > RefType
Type of the variable reference.
VariableArrayT< Int64 > PrivateType
Type of the variable's private part.
MeshVariableScalarRefT< Face, Int64 > RefType
Type of the variable reference.
MeshVariableArrayRefT< Face, Int64 > RefType
Type of the variable reference.
Array2VariableT< Int64 > PrivateType
Type of the variable's private part.
VariableArrayT< Real2 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Face, Real2 > RefType
Type of the variable reference.
Array2VariableT< Real2 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Face, Real2 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Face, Real2x2 > RefType
Type of the variable reference.
VariableArrayT< Real2x2 > PrivateType
Type of the variable's private part.
Array2VariableT< Real2x2 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Face, Real2x2 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Face, Real3 > RefType
Type of the variable reference.
VariableArrayT< Real3 > PrivateType
Type of the private part of the variable.
Array2VariableT< Real3 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Face, Real3 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Face, Real3x3 > RefType
Type of the variable reference.
VariableArrayT< Real3x3 > PrivateType
Type of the variable's private part.
Array2VariableT< Real3x3 > PrivateType
Type of the variable's private part.
MeshVariableArrayRefT< Face, Real3x3 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Face, Real > RefType
Type of the variable reference.
VariableArrayT< Real > PrivateType
Type of the private part of the variable.
Array2VariableT< Real > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Face, Real > RefType
Type of the variable reference.
VariableArrayT< Int32 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Node, Int32 > RefType
Type of the variable reference.
Array2VariableT< Int32 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Node, Int32 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Node, Int64 > RefType
Type of the variable reference.
VariableArrayT< Int64 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Node, Int64 > RefType
Type of the variable reference.
Array2VariableT< Int64 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Node, Real2 > RefType
Type of the variable reference.
VariableArrayT< Real2 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Node, Real2 > RefType
Type of the variable reference.
Array2VariableT< Real2 > PrivateType
Type of the private part of the variable.
VariableArrayT< Real2x2 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Node, Real2x2 > RefType
Type of the variable reference.
Array2VariableT< Real2x2 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Node, Real2x2 > RefType
Type of the variable reference.
MeshVariableScalarRefT< Node, Real3 > RefType
Type of the variable reference.
VariableArrayT< Real3 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Node, Real3 > RefType
Type of the variable reference.
Array2VariableT< Real3 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Node, Real3x3 > RefType
Type of the variable reference.
VariableArrayT< Real3x3 > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Node, Real3x3 > RefType
Type of the variable reference.
Array2VariableT< Real3x3 > PrivateType
Type of the private part of the variable.
MeshVariableScalarRefT< Node, Real > RefType
Type of the variable reference.
VariableArrayT< Real > PrivateType
Type of the private part of the variable.
MeshVariableArrayRefT< Node, Real > RefType
Type of the variable reference.
Array2VariableT< Real > PrivateType
Type of the private part of the variable.
Generic information about the types of a mesh variable.
Scalar variable on a mesh entity type.
Node of a mesh.
Definition Item.h:598
Class managing a 2-dimensional real vector.
Definition Real2.h:122
Class managing a 2x2 matrix of reals.
Definition Real2x2.h:55
Class managing a 3-dimensional real vector.
Definition Real3.h:132
Class managing a 3x3 real matrix.
Definition Real3x3.h:67
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
std::int64_t Int64
Signed integer type of 64 bits.
double Real
Type representing a real number.
std::int32_t Int32
Signed integer type of 32 bits.