Arcane
v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
MeshMaterialVariableDependInfo.h
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
/* MeshMaterialVariableDependInfo.h (C) 2000-2014 */
9
/* */
10
/* Informations sur une dépendance de variable. */
11
/*---------------------------------------------------------------------------*/
12
#ifndef ARCANE_MATERIALS_VARIABLEDEPENDINFO_H
13
#define ARCANE_MATERIALS_VARIABLEDEPENDINFO_H
14
/*---------------------------------------------------------------------------*/
15
/*---------------------------------------------------------------------------*/
16
17
#include "arcane/materials/IMeshMaterialVariable.h"
18
#include "arcane/utils/TraceInfo.h"
19
20
/*---------------------------------------------------------------------------*/
21
/*---------------------------------------------------------------------------*/
22
23
ARCANE_BEGIN_NAMESPACE
24
25
/*---------------------------------------------------------------------------*/
26
/*---------------------------------------------------------------------------*/
27
28
/*---------------------------------------------------------------------------*/
29
/*---------------------------------------------------------------------------*/
30
31
MATERIALS_BEGIN_NAMESPACE
32
33
/*---------------------------------------------------------------------------*/
34
/*---------------------------------------------------------------------------*/
35
/*!
36
* \brief Informations sur une dépendance de variable.
37
*/
38
class
ARCANE_MATERIALS_EXPORT
MeshMaterialVariableDependInfo
39
{
40
public
:
41
42
MeshMaterialVariableDependInfo
(
IMeshMaterialVariable
* var,
43
const
TraceInfo
& trace_info);
44
45
public
:
46
47
//! Variable
48
IMeshMaterialVariable
*
variable
()
const
{
return
m_variable; }
49
50
/*!
51
* Infos (si disponible) sur l'endroit dans le code source où la dépendance
52
* a été ajoutée.
53
*/
54
const
TraceInfo
&
traceInfo
()
const
{
return
m_trace_info; }
55
56
private
:
57
58
IMeshMaterialVariable
* m_variable;
59
TraceInfo
m_trace_info;
60
};
61
62
/*---------------------------------------------------------------------------*/
63
/*---------------------------------------------------------------------------*/
64
65
MATERIALS_END_NAMESPACE
66
67
/*---------------------------------------------------------------------------*/
68
/*---------------------------------------------------------------------------*/
69
70
ARCANE_END_NAMESPACE
71
72
/*---------------------------------------------------------------------------*/
73
/*---------------------------------------------------------------------------*/
74
75
#endif
Arcane::Materials::IMeshMaterialVariable
Interface d'une variable matériau d'un maillage.
Definition
core/materials/IMeshMaterialVariable.h:47
Arcane::MeshMaterialVariableDependInfo
Informations sur une dépendance de variable.
Definition
MeshMaterialVariableDependInfo.h:39
Arcane::MeshMaterialVariableDependInfo::variable
IMeshMaterialVariable * variable() const
Variable.
Definition
MeshMaterialVariableDependInfo.h:48
Arcane::MeshMaterialVariableDependInfo::traceInfo
const TraceInfo & traceInfo() const
Definition
MeshMaterialVariableDependInfo.h:54
Arccore::TraceInfo
Informations de trace.
Definition
arccore/src/base/arccore/base/TraceInfo.h:33
arcane
materials
MeshMaterialVariableDependInfo.h
Généré le Lundi 18 Novembre 2024 02:56:52 pour Arcane par
1.9.8