Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
DirectExecutionContext.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/* DirectExecutionContext.h (C) 2000-2021 */
9/* */
10/* Direct execution context. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_LAUNCHER_DIRECTEXECUTIONCONTEXT_H
13#define ARCANE_LAUNCHER_DIRECTEXECUTIONCONTEXT_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/launcher/LauncherGlobal.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24class ISubDomain;
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29/*!
30 * \brief Direct execution context.
31 */
32class ARCANE_LAUNCHER_EXPORT DirectExecutionContext
33{
34 public:
35
36 DirectExecutionContext(IDirectExecutionContext* ctx);
37 DirectExecutionContext(const DirectExecutionContext&) = delete;
38 DirectExecutionContext& operator=(const DirectExecutionContext&) = delete;
39
40 public:
41
42 /*!
43 * \brief Creates a sequential sub-domain without a dataset
44 */
46 /*!
47 * \brief Creates a sequential sub-domain with the dataset file named
48 * case_file_name.
49 */
50 ISubDomain* createSequentialSubDomain(const String& case_file_name);
51
52 private:
53
55};
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60} // End namespace Arcane
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
64
65#endif
ISubDomain * createSequentialSubDomain()
Creates a sequential sub-domain without a dataset.
Interface of the subdomain manager.
Definition ISubDomain.h:75
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --