Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
ItemGroupImplInternal.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* ItemGroupImplInternal.h (C) 2000-2025 */
9/* */
10/* Internal API of ItemGroupImpl in Arcane. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_CORE_INTERNAL_ITEMGROUPIMPLINTERNAL_H
13#define ARCANE_CORE_INTERNAL_ITEMGROUPIMPLINTERNAL_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#include "arcane/core/VariableTypes.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25class ItemGroupImpl;
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29
33class ARCANE_CORE_EXPORT ItemGroupImplInternal
34{
35 public:
36
37 explicit ItemGroupImplInternal(ItemGroupInternal* p)
38 : m_p(p)
39 {}
40
41 public:
42
45
48
55 void notifyDirectRemoveItems(SmallSpan<const Int32> removed_ids, Int32 nb_remaining);
56
59
62
63 private:
64
65 ItemGroupInternal* m_p = nullptr;
66};
67
68/*---------------------------------------------------------------------------*/
69/*---------------------------------------------------------------------------*/
70
71} // namespace Arcane
72
73/*---------------------------------------------------------------------------*/
74/*---------------------------------------------------------------------------*/
75
76#endif
Declarations of Arcane's general types.
void notifySimdPaddingDone()
Indicates that the SIMD padding of the entities has been performed.
void setMemoryRessourceForItemLocalId(eMemoryRessource mem)
Changes the memory resource used to store the localId() of the entities.
SmallSpan< Int32 > itemsLocalId()
List of localId() of the group's entities.
void notifyDirectRemoveItems(SmallSpan< const Int32 > removed_ids, Int32 nb_remaining)
Notifies the instance that the list of group entities has been directly modified.
void setAsConstituentGroup()
Indicates that the group is associated with a constituent.
Brief: Implementation of a mesh entity group.
Implementation of the ItemGroupImpl class.
View of an array of elements of type T.
Definition Span.h:805
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Arcane::eMemoryResource eMemoryRessource
Typedef for the historical Arcane version (with 2's').
std::int32_t Int32
Signed integer type of 32 bits.