Arcane  v3.14.10.0
Documentation utilisateur
Chargement...
Recherche...
Aucune correspondance
MaterialsCoreGlobal.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2023 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/* MaterialsCoreGlobal.cc (C) 2000-2023 */
9/* */
10/* Déclarations générales des matériaux de Arcane. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/core/materials/IMeshMaterialVariable.h"
15#include "arcane/core/materials/IMeshBlock.h"
16#include "arcane/core/materials/IMeshComponent.h"
17#include "arcane/core/materials/IMeshMaterial.h"
18#include "arcane/core/materials/IMeshEnvironment.h"
19#include "arcane/core/materials/MatVarIndex.h"
20#include "arcane/core/materials/MatItem.h"
21#include "arcane/core/materials/IEnumeratorTracer.h"
22#include "arcane/core/materials/IMeshMaterialVariableFactoryMng.h"
23#include "arcane/core/materials/IMeshMaterialVariableFactory.h"
24
25// Pas utilisé directement mais nécessaire pour l'exportation des symboles.
26#include "arcane/core/materials/internal/IMeshComponentInternal.h"
27#include "arcane/core/materials/internal/IMeshMaterialMngInternal.h"
28
29/*---------------------------------------------------------------------------*/
30/*---------------------------------------------------------------------------*/
31
32namespace Arcane::Materials
33{
34
35/*---------------------------------------------------------------------------*/
36/*---------------------------------------------------------------------------*/
37
38IEnumeratorTracer* IEnumeratorTracer::m_singleton = nullptr;
39
40/*---------------------------------------------------------------------------*/
41/*---------------------------------------------------------------------------*/
42
45{
46 delete m_singleton;
47 m_singleton = tracer;
48}
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53} // End namespace Arcane::Materials
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
static void _setSingleton(IEnumeratorTracer *tracer)
Internal.
Active toujours les traces dans les parties Arcane concernant les matériaux.