Arcane  v3.16.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ConstituentItemVectorBuildInfo.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2025 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/* ConstituentItemVectorBuildInfo.h (C) 2000-2025 */
9/* */
10/* Options de construction pour 'ComponentItemVector'. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_MATERIALS_CONSTITUENTITEMVECTORBUILDINFO_H
13#define ARCANE_CORE_MATERIALS_CONSTITUENTITEMVECTORBUILDINFO_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/core/ItemGroup.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane::Materials
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
36class ARCANE_CORE_EXPORT ConstituentItemVectorBuildInfo
37{
38 friend class MatCellVector;
39 friend class EnvCellVector;
40
41 private:
42
44 enum class eBuildListType
45 {
46 Group,
47 VectorView,
48 LocalIds
49 };
50
51 public:
52
54 explicit ConstituentItemVectorBuildInfo(const CellGroup& group);
59
60 private:
61
62 SmallSpan<const Int32> _localIds() const;
63
64 private:
65
66 CellGroup m_group;
67 CellVectorView m_view;
68 SmallSpan<const Int32> m_local_ids;
69 eBuildListType m_build_list_type;
70};
71
72/*---------------------------------------------------------------------------*/
73/*---------------------------------------------------------------------------*/
74
75} // namespace Arcane::Materials
76
77/*---------------------------------------------------------------------------*/
78/*---------------------------------------------------------------------------*/
79
80#endif
Options de construction pour 'ComponentItemVector' et l.
ConstituentItemVectorBuildInfo(const CellGroup &group)
Construction à partir des entités du groupe group.
Vue d'un tableau d'éléments de type T.
Definition Span.h:673
ItemGroupT< Cell > CellGroup
Groupe de mailles.
Definition ItemTypes.h:183
ItemVectorViewT< Cell > CellVectorView
Vue sur un vecteur de mailles.
Definition ItemTypes.h:304
Active toujours les traces dans les parties Arcane concernant les matériaux.