Arcane  v3.14.10.0
Documentation utilisateur
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
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
30ModuleBuildInfo(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
41ModuleBuildInfo(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
52ModuleBuildInfo(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
Interface du gestionnaire d'un sous-domaine.
Definition ISubDomain.h:74
Handle sur un maillage.
Definition MeshHandle.h:47
ModuleBuildInfo(ISubDomain *sd, IMesh *mesh, const String &name)
Constructeur à partir d'un sous-domaine, un maillage et un nom d'implémentation de module.
Chaîne de caractères unicode.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-