Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
ConstituentItemLocalIdList.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 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/* ConstituentItemLocalIdList.cc (C) 2000-2024 */
9/* */
10/* Gestion des listes d'identifiants locaux de 'ComponentItemInternal'. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arcane/core/materials/internal/ConstituentItemLocalIdList.h"
15
16#include "arcane/utils/MemoryUtils.h"
17
18/*---------------------------------------------------------------------------*/
19/*---------------------------------------------------------------------------*/
20
21namespace Arcane::Materials
22{
23
24/*---------------------------------------------------------------------------*/
25/*---------------------------------------------------------------------------*/
26
27ConstituentItemLocalIdList::
28ConstituentItemLocalIdList(ComponentItemSharedInfo* shared_info,const String& debug_name)
29: m_constituent_item_index_list(MemoryUtils::getDefaultDataAllocator())
30, m_shared_info(shared_info)
31{
32 if (!debug_name.empty())
33 m_constituent_item_index_list.setDebugName(debug_name);
34}
35
36/*---------------------------------------------------------------------------*/
37/*---------------------------------------------------------------------------*/
38
39/*---------------------------------------------------------------------------*/
40/*---------------------------------------------------------------------------*/
41
42void ConstituentItemLocalIdList::
43resize(Int32 new_size)
44{
45 m_constituent_item_index_list.resize(new_size);
46}
47
48/*---------------------------------------------------------------------------*/
49/*---------------------------------------------------------------------------*/
50
51} // End namespace Arcane::Materials
52
53/*---------------------------------------------------------------------------*/
54/*---------------------------------------------------------------------------*/
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Active toujours les traces dans les parties Arcane concernant les matériaux.