Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ConstituentListPrinter.h
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/* ConstituentListPrinter.h (C) 2000-2023 */
9/* */
10/* Fonctions utilitaires d'affichage des constituants. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_MATERIALS_INTERNAL_COMPONENTLISTPRINTER_H
13#define ARCANE_MATERIALS_INTERNAL_COMPONENTLISTPRINTER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/utils/Array.h"
19
20#include "arcane/core/VariableTypes.h"
21
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27namespace Arcane::Materials
28{
29
30/*---------------------------------------------------------------------------*/
31/*---------------------------------------------------------------------------*/
35class ARCANE_MATERIALS_EXPORT ConstituentListPrinter
36: public TraceAccessor
37{
38 public:
39
41
42 public:
43
47 ConstituentListPrinter& operator=(const ConstituentListPrinter&) = delete;
48
49 public:
50
51 void print();
52
53 private:
54
55 MeshMaterialMng* m_material_mng = nullptr;
56
57 private:
58
59 void _printConstituentsPerCell(ItemVectorView items);
60 void _printConstituents();
61};
62
63/*---------------------------------------------------------------------------*/
64/*---------------------------------------------------------------------------*/
65
66} // namespace Arcane::Materials
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71#endif
Vue sur un vecteur d'entités.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Fonctions utilitaires d'affichage des constituants.
Implémentation d'un gestion des matériaux.
Active toujours les traces dans les parties Arcane concernant les matériaux.