Arcane
v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ModuleBuildInfo.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
/* ModuleBuildInfo.cc (C) 2000-2019 */
9
/* */
10
/* Paramètres pour construire un module. */
11
/*---------------------------------------------------------------------------*/
12
/*---------------------------------------------------------------------------*/
13
14
#include "arcane/utils/ArcanePrecomp.h"
15
16
#include "arcane/ModuleBuildInfo.h"
17
#include "arcane/ISubDomain.h"
18
#include "arcane/IMesh.h"
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
namespace
Arcane
24
{
25
26
/*---------------------------------------------------------------------------*/
27
/*---------------------------------------------------------------------------*/
28
29
ModuleBuildInfo::
30
ModuleBuildInfo
(
ISubDomain
*
sd
,
IMesh
* mesh,
const
String
& name)
31
: m_sub_domain(
sd
)
32
, m_mesh_handle(mesh->handle())
33
, m_name(name)
34
{
35
}
36
37
/*---------------------------------------------------------------------------*/
38
/*---------------------------------------------------------------------------*/
39
40
ModuleBuildInfo::
41
ModuleBuildInfo
(
ISubDomain
*
sd
,
const
MeshHandle
&
mesh_handle
,
const
String
& name)
42
: m_sub_domain(
sd
)
43
, m_mesh_handle(
mesh_handle
)
44
, m_name(name)
45
{
46
}
47
48
/*---------------------------------------------------------------------------*/
49
/*---------------------------------------------------------------------------*/
50
51
ModuleBuildInfo::
52
ModuleBuildInfo
(
ISubDomain
*
sd
,
const
String
& name)
53
: m_sub_domain(
sd
)
54
, m_mesh_handle(
sd
->defaultMeshHandle())
55
, m_name(name)
56
{
57
}
58
59
/*---------------------------------------------------------------------------*/
60
/*---------------------------------------------------------------------------*/
61
62
63
/*---------------------------------------------------------------------------*/
64
/*---------------------------------------------------------------------------*/
65
66
}
// End namespace
67
68
/*---------------------------------------------------------------------------*/
69
/*---------------------------------------------------------------------------*/
70
Arcane::IMesh
Definition
IMesh.h:59
Arcane::ISubDomain
Interface du gestionnaire d'un sous-domaine.
Definition
ISubDomain.h:74
Arcane::LimaWrapper
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition
Lima.cc:120
Arcane::MeshHandle
Handle sur un maillage.
Definition
MeshHandle.h:47
Arcane::ModuleBuildInfo::ModuleBuildInfo
ModuleBuildInfo(ISubDomain *sd, IMesh *mesh, const String &name)
Constructeur à partir d'un sous-domaine, un maillage et un nom d'implémentation de module.
Definition
ModuleBuildInfo.cc:30
Arccore::String
Chaîne de caractères unicode.
Definition
arccore/src/base/arccore/base/String.h:70
Arcane
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Definition
AcceleratorGlobal.h:36
arcane
core
ModuleBuildInfo.cc
Généré le Lundi 18 Novembre 2024 03:01:03 pour Arcane par
1.9.8