14#include "arcane/materials/internal/ComponentItemListBuilder.h"
15#include "arcane/materials/internal/MeshMaterialVariableIndexer.h"
17#include "arcane/utils/MemoryUtils.h"
26 MemoryAllocationOptions _allocInfo(
const String& name)
28 MemoryAllocationOptions opts(MemoryUtils::getDefaultDataAllocator());
29 opts.setArrayName(name);
36ComponentItemListBuilder::
37ComponentItemListBuilder()
44ComponentItemListBuilderOld::
45ComponentItemListBuilderOld(MeshMaterialVariableIndexer* var_indexer,
46 Integer begin_index_in_partial)
47: m_component_index(var_indexer->index() + 1)
48, m_index_in_partial(begin_index_in_partial)
49, m_pure_matvar_indexes(_allocInfo(
"PureMatVarIndexes"))
50, m_partial_matvar_indexes(_allocInfo(
"PartialMatVarIndexes"))
51, m_partial_local_ids(_allocInfo(
"PartialLocalIds"))
52, m_indexer(var_indexer)
55 m_pure_matvar_indexes.reserve(reserve_size);
56 m_partial_matvar_indexes.reserve(reserve_size);
57 m_partial_local_ids.reserve(reserve_size);
Active toujours les traces dans les parties Arcane concernant les matériaux.
Int32 Integer
Type représentant un entier.