Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ArcaneSimpleExecutor.h
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/* ArcaneSimpleExecutor.h (C) 2000-2019 */
9/* */
10/* Classe permettant d'exécuter du code directement via Arcane. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_IMPL_INTERNALINFOSDUMPER_H
13#define ARCANE_IMPL_INTERNALINFOSDUMPER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
27
28class ISubDomain;
29class ApplicationInfo;
30class ApplicationBuildInfo;
31class CommandLineArguments;
32
33/*---------------------------------------------------------------------------*/
34/*---------------------------------------------------------------------------*/
50class ARCANE_IMPL_EXPORT ArcaneSimpleExecutor
51{
52 class Impl;
53 public:
54
58 const ArcaneSimpleExecutor& operator=(const ArcaneSimpleExecutor&) = delete;
59
60 public:
61
62 ApplicationBuildInfo& applicationBuildInfo();
63 const ApplicationBuildInfo& applicationBuildInfo() const;
64
65 int initialize();
66 ISubDomain* createSubDomain(const String& case_file_name);
67 int runCode(IFunctor* f);
68
69 private:
70
71 Impl* m_p;
72
73 private:
74
75 void _checkInit();
76 void _setDefaultVerbosityLevel(Integer level);
77};
78
79/*---------------------------------------------------------------------------*/
80/*---------------------------------------------------------------------------*/
81
82} // End namespace Arcane
83
84/*---------------------------------------------------------------------------*/
85/*---------------------------------------------------------------------------*/
86
87#endif
Déclarations des types utilisés dans Arcane.
Informations pour construire une instance de IApplication.
Classe permettant d'exécuter directement du code sans passer par la boucle en temps.
Interface du gestionnaire d'un sous-domaine.
Definition ISubDomain.h:74
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-