Arcane
4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
ArcaneSimpleExecutor.h
1
// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2
//-----------------------------------------------------------------------------
3
// Copyright 2000-2026 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-2026 */
9
/* */
10
/* Class for executing code directly via Arcane. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_IMPL_INTERNALINFOSDUMPER_H
13
#define ARCANE_IMPL_INTERNALINFOSDUMPER_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "
arcane/utils/UtilsTypes.h
"
18
19
/*---------------------------------------------------------------------------*/
20
/*---------------------------------------------------------------------------*/
21
22
namespace
Arcane
23
{
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
class
ISubDomain
;
29
class
ApplicationInfo
;
30
class
ApplicationBuildInfo
;
31
class
CommandLineArguments
;
32
33
/*---------------------------------------------------------------------------*/
34
/*---------------------------------------------------------------------------*/
35
51
class
ARCANE_IMPL_EXPORT ArcaneSimpleExecutor
52
{
53
class
Impl
;
54
55
public
:
56
57
ArcaneSimpleExecutor();
58
ArcaneSimpleExecutor(
const
ArcaneSimpleExecutor&) =
delete
;
59
~ArcaneSimpleExecutor()
noexcept
(
false
);
60
const
ArcaneSimpleExecutor& operator=(
const
ArcaneSimpleExecutor&) =
delete
;
61
62
public
:
63
64
ApplicationBuildInfo
& applicationBuildInfo();
65
const
ApplicationBuildInfo
& applicationBuildInfo()
const
;
66
67
int
initialize();
68
ISubDomain
* createSubDomain(
const
String
& case_file_name);
69
int
runCode(
IFunctor
* f);
70
71
private
:
72
73
Impl
* m_p;
74
75
private
:
76
77
void
_checkInit();
78
void
_setDefaultVerbosityLevel
(
Integer
level);
79
};
80
81
/*---------------------------------------------------------------------------*/
82
/*---------------------------------------------------------------------------*/
83
84
}
// End namespace Arcane
85
86
/*---------------------------------------------------------------------------*/
87
/*---------------------------------------------------------------------------*/
88
89
#endif
UtilsTypes.h
Declarations of types used in Arcane.
Arcane::ApplicationBuildInfo
Information for constructing an instance of IApplication.
Definition
ApplicationBuildInfo.h:35
Arcane::ApplicationInfo
Application information.
Definition
ApplicationInfo.h:40
Arcane::ArcaneSimpleExecutor::Impl
Definition
ArcaneSimpleExecutor.cc:63
Arcane::ArcaneSimpleExecutor::_setDefaultVerbosityLevel
void _setDefaultVerbosityLevel(Integer level)
Sets the trace level to level if it is not set.
Definition
ArcaneSimpleExecutor.cc:140
Arcane::CommandLineArguments
Command Line Arguments.
Definition
arccore/src/common/arccore/common/CommandLineArguments.h:50
Arcane::IFunctor
Interface of a functor.
Definition
arccore/src/base/arccore/base/IFunctor.h:33
Arcane::ISubDomain
Interface of the subdomain manager.
Definition
ISubDomain.h:75
Arcane::String
Unicode character string.
Definition
arccore/src/base/arccore/base/String.h:70
Arcane
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Definition
arcane/src/arcane/accelerator/AcceleratorGlobal.h:37
Arcane::Integer
Int32 Integer
Type representing an integer.
Definition
ArccoreGlobal.h:293
arcane
impl
ArcaneSimpleExecutor.h
Generated on
for Arcane by
1.16.1