Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MpiBatchMainFactory.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
/* MpiBatchMainFactory.cc (C) 2000-2005 */
9
/* */
10
/* Gestionnaire de parallélisme utilisant MPI. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
15
#include "arcane/utils/ArcanePrecomp.h"
16
17
#include "arcane/utils/ITraceMng.h"
18
#include "arcane/utils/String.h"
19
20
#include "arcane/parallel/IStat.h"
21
22
#include "arcane/parallel/mpi/MpiBatchMainFactory.h"
23
24
/*---------------------------------------------------------------------------*/
25
/*---------------------------------------------------------------------------*/
26
27
ARCANE_BEGIN_NAMESPACE
28
29
/*---------------------------------------------------------------------------*/
30
/*---------------------------------------------------------------------------*/
31
32
extern
"C++"
IArcaneMain*
33
createArcaneMainBatch(
const
ApplicationInfo& app_info,IMainFactory*);
34
35
/*---------------------------------------------------------------------------*/
36
/*---------------------------------------------------------------------------*/
37
38
IArcaneMain
* MpiBatchMainFactory::
39
createArcaneMain(
const
ApplicationInfo
&
app_info
)
40
{
41
return
createArcaneMainBatch(
app_info
,
this
);
42
}
43
44
int
MpiBatchMainFactory::
45
exec(
const
ApplicationInfo
&
app_info
)
46
{
47
MpiBatchMainFactory
pbmf
;
48
int
r
=
Arcane::ArcaneMain::arcaneMain
(
app_info
,&
pbmf
);
49
return
r
;
50
}
51
52
/*---------------------------------------------------------------------------*/
53
/*---------------------------------------------------------------------------*/
54
55
ARCANE_END_NAMESPACE
56
57
/*---------------------------------------------------------------------------*/
58
/*---------------------------------------------------------------------------*/
Arcane::ApplicationInfo
Informations sur une application.
Definition
ApplicationInfo.h:40
Arcane::IArcaneMain
Interface de la classe de gestion du code.
Definition
IArcaneMain.h:54
Arcane::IArcaneMain::arcaneMain
static IArcaneMain * arcaneMain()
Definition
InterfaceImpl.cc:149
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::MpiBatchMainFactory
Definition
MpiBatchMainFactory.h:31
arcane
parallel
mpi
MpiBatchMainFactory.cc
Généré le Lundi 18 Novembre 2024 03:01:41 pour Arcane par
1.9.8