Arcane  v3.15.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MDDim.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* MDDim.h (C) 2000-2024 */
9/* */
10/* Tag pour les tableaux N-dimensions. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_UTILS_MDDIM_H
13#define ARCANE_UTILS_MDDIM_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/ExtentsV.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
30
33
36
39
42
43/*---------------------------------------------------------------------------*/
44/*---------------------------------------------------------------------------*/
45
46template <>
47class MDDimType<0>
48{
49 public:
50
51 using DimType = MDDim0;
52};
53template <>
54class MDDimType<1>
55{
56 public:
57
58 using DimType = MDDim1;
59};
60template <>
61class MDDimType<2>
62{
63 public:
64
65 using DimType = MDDim2;
66};
67template <>
68class MDDimType<3>
69{
70 public:
71
72 using DimType = MDDim3;
73};
74template <>
75class MDDimType<4>
76{
77 public:
78
79 using DimType = MDDim4;
80};
81
82/*---------------------------------------------------------------------------*/
83/*---------------------------------------------------------------------------*/
84
85} // End namespace Arcane
86
87/*---------------------------------------------------------------------------*/
88/*---------------------------------------------------------------------------*/
89
90#endif
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:149
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
ExtentsV< Int32, DynExtent, DynExtent, DynExtent > MDDim3
Constante pour un tableau dynamique de rang 3.
Definition MDDim.h:38
ExtentsV< Int32, DynExtent, DynExtent, DynExtent, DynExtent > MDDim4
Constante pour un tableau dynamique de rang 4.
Definition MDDim.h:41
ExtentsV< Int32 > MDDim0
Constante pour un tableau dynamique de rang 0.
Definition MDDim.h:29
ExtentsV< Int32, DynExtent, DynExtent > MDDim2
Constante pour un tableau dynamique de rang 2.
Definition MDDim.h:35
ExtentsV< Int32, DynExtent > MDDim1
Constante pour un tableau dynamique de rang 1.
Definition MDDim.h:32