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