Arcane  v3.15.0.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
Array2Data.cc
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/* Array2Data.cc (C) 2000-2024 */
9/* */
10/* Donnée du type 'Array2'. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/impl/internal/Array2Data.h"
15
16#include "arcane/utils/NumericTypes.h"
17
18#include "arcane/impl/DataStorageFactory.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29extern "C++" void
30registerArray2DataFactory(IDataFactoryMng* dfm)
31{
32 DataStorageFactory<Array2DataT<Byte>>::registerDataFactory(dfm);
33 DataStorageFactory<Array2DataT<Real>>::registerDataFactory(dfm);
34 DataStorageFactory<Array2DataT<BFloat16>>::registerDataFactory(dfm);
35 DataStorageFactory<Array2DataT<Float16>>::registerDataFactory(dfm);
36 DataStorageFactory<Array2DataT<Float32>>::registerDataFactory(dfm);
37 DataStorageFactory<Array2DataT<Int8>>::registerDataFactory(dfm);
38 DataStorageFactory<Array2DataT<Int16>>::registerDataFactory(dfm);
39 DataStorageFactory<Array2DataT<Int32>>::registerDataFactory(dfm);
40 DataStorageFactory<Array2DataT<Int64>>::registerDataFactory(dfm);
41 DataStorageFactory<Array2DataT<Real2>>::registerDataFactory(dfm);
42 DataStorageFactory<Array2DataT<Real3>>::registerDataFactory(dfm);
43 DataStorageFactory<Array2DataT<Real2x2>>::registerDataFactory(dfm);
44 DataStorageFactory<Array2DataT<Real3x3>>::registerDataFactory(dfm);
45}
46
47/*---------------------------------------------------------------------------*/
48/*---------------------------------------------------------------------------*/
49
50} // End namespace Arcane
51
52/*---------------------------------------------------------------------------*/
53/*---------------------------------------------------------------------------*/
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-