Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
MaterialVariableBuildInfo.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/* MaterialVariableBuildInfo.cc (C) 2000-2022 */
9/* */
10/* Informations pour une construire une variable matériau. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/core/materials/MaterialVariableBuildInfo.h"
15#include "arcane/core/materials/IMeshMaterialMng.h"
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane::Materials
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29MaterialVariableBuildInfo::
30MaterialVariableBuildInfo(IMeshMaterialMng* mng,const String& name,int property)
31: VariableBuildInfo(mng->mesh(),name,property)
32, m_material_mng(mng)
33{
34}
35
36/*---------------------------------------------------------------------------*/
37/*---------------------------------------------------------------------------*/
38
39MaterialVariableBuildInfo::
40MaterialVariableBuildInfo(IMeshMaterialMng* mng,const VariableBuildInfo& vbi)
41: VariableBuildInfo(vbi)
42, m_material_mng(mng)
43{
44}
45
46/*---------------------------------------------------------------------------*/
47/*---------------------------------------------------------------------------*/
48
49} // End namespace Arcane::Materials
50
51/*---------------------------------------------------------------------------*/
52/*---------------------------------------------------------------------------*/
Active toujours les traces dans les parties Arcane concernant les matériaux.