Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
DirectSubDomainExecutionContext.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/* DirectSubDomainExecutionContext.cc (C) 2000-2022 */
9/* */
10/* Contexte d'exécution directe avec création d'un sous-domaine. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/launcher/DirectSubDomainExecutionContext.h"
15
16#include "arcane/utils/String.h"
17
18/*---------------------------------------------------------------------------*/
19/*---------------------------------------------------------------------------*/
20
21namespace Arcane
22{
24{
25 public:
26 Impl(ISubDomain* sd) : m_sub_domain(sd){}
27 ISubDomain* m_sub_domain;
28};
29
30/*---------------------------------------------------------------------------*/
31/*---------------------------------------------------------------------------*/
32
33DirectSubDomainExecutionContext::
34DirectSubDomainExecutionContext(ISubDomain* sd)
35: m_p(new Impl(sd))
36{
37}
38
39/*---------------------------------------------------------------------------*/
40/*---------------------------------------------------------------------------*/
41
42DirectSubDomainExecutionContext::
43~DirectSubDomainExecutionContext()
44{
45 delete m_p;
46}
47
48/*---------------------------------------------------------------------------*/
49/*---------------------------------------------------------------------------*/
50
52subDomain() const
53{
54 return m_p->m_sub_domain;
55}
56
57/*---------------------------------------------------------------------------*/
58/*---------------------------------------------------------------------------*/
59
60} // End namespace Arcane
61
62/*---------------------------------------------------------------------------*/
63/*---------------------------------------------------------------------------*/
Interface du gestionnaire d'un sous-domaine.
Definition ISubDomain.h:74
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-