Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
DataFactory.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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/* DataFactory.cc (C) 2000-2021 */
9/* */
10/* Fabrique de données. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/utils/ITraceMng.h"
15#include "arcane/utils/FatalErrorException.h"
16
17#include "arcane/impl/DataFactory.h"
18#include "arcane/impl/DataOperation.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29extern "C++" IDataFactory*
30arcaneCreateDataFactory(IApplication* sm);
31
32/*---------------------------------------------------------------------------*/
33/*---------------------------------------------------------------------------*/
34
35DataFactory::
36DataFactory(IApplication* sm)
37: m_application(sm)
38{
39}
40
41/*---------------------------------------------------------------------------*/
42/*---------------------------------------------------------------------------*/
43
44DataFactory::
45~DataFactory()
46{
47}
48
49/*---------------------------------------------------------------------------*/
50/*---------------------------------------------------------------------------*/
51
52/*---------------------------------------------------------------------------*/
53/*---------------------------------------------------------------------------*/
54
55IDataOperation* DataFactory::
56createDataOperation(Parallel::eReduceType rt)
57{
58 return arcaneCreateDataOperation(rt);
59}
60
61/*---------------------------------------------------------------------------*/
62/*---------------------------------------------------------------------------*/
63
64void DataFactory::
65build()
66{
67}
68
69/*---------------------------------------------------------------------------*/
70/*---------------------------------------------------------------------------*/
71
73arcaneCreateDataFactory(IApplication* sm)
74{
76 df->build();
77 return df;
78}
79
80/*---------------------------------------------------------------------------*/
81/*---------------------------------------------------------------------------*/
82
83} // End namespace Arcane
84
85/*---------------------------------------------------------------------------*/
86/*---------------------------------------------------------------------------*/
87
Interface d'une fabrique d'une donnée.
Definition DataFactory.h:32
Interface de l'application.
Interface d'une fabrique d'une donnée.
Interface d'une opération sur une donnée.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
eReduceType
Types des réductions supportées.