Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::mesh::DynamicMeshKindInfos Class Reference

Mesh information for a given entity kind. More...

#include <arcane/mesh/DynamicMeshKindInfos.h>

Inheritance diagram for Arcane::mesh::DynamicMeshKindInfos:
Collaboration diagram for Arcane::mesh::DynamicMeshKindInfos:

Public Types

typedef Arcane::mesh::ItemInternalMap ItemInternalMap

Public Member Functions

 DynamicMeshKindInfos (IMesh *mesh, eItemKind kind, const String &kind_name)
 Creates an instance for a given mesh and kind.
 ~DynamicMeshKindInfos ()
 Frees resources.
void build ()
void finalizeMeshChanged ()
 Reallocates and recalculates structures after mesh modification.
Integer maxUsedLocalId () const
 Largest local ID used.
void prepareForDump ()
 Prepares variables for dumps.
void readFromDump ()
 Restores info from dumps.
ItemGroup allItems () const
 Group of all entities.
Int32ConstArrayView addedItems () const
 List of entities added or removed since the last endUpdate().
Int32ConstArrayView removedItems () const
ConstArrayView< ItemInternal * > itemsInternal () const
 Internal list of ItemInternals.
ItemInternalitemInternal (Int32 local_id) const
ItemInternalallocOne (Int64 unique_id)
 Adds an entity with a unique ID unique_id.
ItemInternalallocOne (Int64 unique_id, bool &need_alloc)
 Adds an entity with a unique ID unique_id.
void removeOne (ItemInternal *item)
 Removes the entity item.
void removeDetachedOne (ItemInternal *item)
 Removes the detached entity item.
void detachOne (ItemInternal *item)
 Detaches the entity item.
void removeMany (Int32ConstArrayView local_ids)
 Removes a list of entities.
ItemInternalfindOrAllocOne (Int64 uid, bool &is_alloc)
 Finds the entity with unique ID unique_id and creates it if it does not exist.
ItemInternalfindOne (Int64 uid)
 Finds the entity with unique ID uid.
void checkValid ()
 Checks if the internal structures of the instance are valid.
ItemInternalMap & itemsMap ()
Integer nbItem () const
eItemKind kind () const
bool changed () const
void beginCompactItems (ItemFamilyCompactInfos &compact_infos)
 Calculates the new local IDs of the entities so that they are consecutive.
ARCANE_DEPRECATED_240 Int32ConstArrayView oldToNewLocalIds () const
 Conversion between old and new local IDs.
void clear ()
 Removes all entities.
ARCANE_DEPRECATED_240 Int32ConstArrayView newToOldLocalIds () const
 Conversion between new and old local IDs.
void finishCompactItems (ItemFamilyCompactInfos &compact_infos)
void itemsUniqueIdToLocalId (ArrayView< Int64 > ids, bool do_fatal) const
void itemsUniqueIdToLocalId (Int32ArrayView local_ids, Int64ConstArrayView unique_ids, bool do_fatal) const
void itemsUniqueIdToLocalId (Int32ArrayView local_ids, ConstArrayView< ItemUniqueId > unique_ids, bool do_fatal) const
ItemFamilyitemFamily () const
void setItemFamily (ItemFamily *item_family)
bool hasUniqueIdMap () const
void setHasUniqueIdMap (bool v)
void printFreeInternals (Integer max_print)
EventObservableView< const ItemFamilyItemListChangedEventArgs & > itemListChangedEvent ()
Public Member Functions inherited from Arcane::TraceAccessor
 TraceAccessor (ITraceMng *m)
 Constructs an accessor via the trace manager m.
 TraceAccessor (const TraceAccessor &rhs)
 Copy constructor.
TraceAccessoroperator= (const TraceAccessor &rhs)
 Copy assignment operator.
virtual ~TraceAccessor ()
 Frees resources.
ITraceMngtraceMng () const
 Trace manager.
TraceMessage info () const
 Flow for an information message.
TraceMessage pinfo () const
 Flow for a parallel information message.
TraceMessage info (char category) const
 Flow for an information message of a given category.
TraceMessage pinfo (char category) const
 Flow for a parallel information message of a given category.
TraceMessage info (bool v) const
 Flow for an information message.
TraceMessage warning () const
 Flow for a warning message.
TraceMessage pwarning () const
TraceMessage error () const
 Flow for an error message.
TraceMessage perror () const
TraceMessage log () const
 Flow for a log message.
TraceMessage plog () const
 Flow for a log message.
TraceMessage logdate () const
 Flow for a log message preceded by the date.
TraceMessage fatal () const
 Flow for a fatal error message.
TraceMessage pfatal () const
 Flow for a parallel fatal error message.
TraceMessageDbg debug (Trace::eDebugLevel=Trace::Medium) const
 Flow for a debug message.
Trace::eDebugLevel configDbgLevel () const
 Debug level of the configuration file.
TraceMessage info (Int32 verbose_level) const
 Flow for an information message of a given level.
TraceMessage linfo () const
 Flow for an information message with the local information level of this instance.
TraceMessage linfo (Int32 relative_level) const
 Flow for an information message with the local information level of this instance.
void fatalMessage (const StandaloneTraceMessage &o) const

Public Attributes

UniqueArray< ItemInternal * > m_internals
 ItemInternals of the entities.
Int32UniqueArray m_free_internals
 List of free ItemInternals from m_item_internals_buffer.
UniqueArray< ItemInternal * > m_free_internals_in_multi_buffer

Private Types

using ItemInternalMapData = ItemInternalMap::BaseData

Private Member Functions

ItemInternal_allocOne (bool &need_alloc)
 Adds an entity.
void _setSuppressed (ItemInternal *item)
void _setAdded (ItemInternal *item)
void _checkActiveItem (ItemInternal *item)
void _dumpList ()
void _badSameUniqueId (Int64 unique_id) const
void _badUniqueIdMap () const
void _updateItemSharedInfoInternalView ()
void _notifyRemove (ItemInternal *item)
void _notifyAdd (ItemInternal *item, Int64 uid)
void _notifyRemove2 (ItemInternal *item)
void _notifyAdd2 (ItemInternal *item, Int64 uid)

Private Attributes

IMeshm_mesh
 Associated mesh.
ItemFamilym_item_family
 Associated mesh family.
eItemKind m_kind
 Corresponding kind.
String m_kind_name
 Name of the entity kind (Node, Cell, ...).
String m_all_group_name
 Name of the group containing all entities.
ItemInternalMap m_items_map
 Hash table for uniqueId() -> ItemInternal* conversion.
ItemGroup m_all_group
Integer m_nb_item
 Group of all entities.
bool m_is_verbose
Int32UniqueArray m_added_items
Int32UniqueArray m_removed_items
bool m_use_new_finalize
bool m_is_first_finalize
bool m_has_unique_id_map
ItemFamilyCompactInfosm_compact_infos
 Temporary while oldToNewLocalIds() and newToOldLocalIds() exist.
ItemSharedInfom_common_item_shared_info = nullptr
EventObservable< const ItemFamilyItemListChangedEventArgs & > m_item_list_change_event
MultiBufferT< ItemInternal > * m_item_internals_buffer
 Buffer to store an instance of ItemInternal.

Additional Inherited Members

Protected Member Functions inherited from Arcane::TraceAccessor
void _setLocalVerboseLevel (Int32 v)
Int32 _localVerboseLevel () const

Detailed Description

Mesh information for a given entity kind.

An instance of this class manages all mesh structures for a given entity kind.

Definition at line 50 of file DynamicMeshKindInfos.h.

Member Typedef Documentation

◆ ItemInternalMap

typedef Arcane::mesh::ItemInternalMap Arcane::mesh::DynamicMeshKindInfos::ItemInternalMap

Definition at line 56 of file DynamicMeshKindInfos.h.

◆ ItemInternalMapData

using Arcane::mesh::DynamicMeshKindInfos::ItemInternalMapData = ItemInternalMap::BaseData
private

Definition at line 60 of file DynamicMeshKindInfos.h.

Constructor & Destructor Documentation

◆ DynamicMeshKindInfos()

Arcane::mesh::DynamicMeshKindInfos::DynamicMeshKindInfos ( IMesh * mesh,
eItemKind kind,
const String & kind_name )

Creates an instance for a given mesh and kind.

Definition at line 49 of file DynamicMeshKindInfos.cc.

References m_compact_infos, m_item_family, m_item_internals_buffer, m_kind, m_kind_name, m_mesh, m_nb_item, Arcane::TraceAccessor::TraceAccessor(), and Arcane::TraceAccessor::traceMng().

Here is the call graph for this function:

◆ ~DynamicMeshKindInfos()

Arcane::mesh::DynamicMeshKindInfos::~DynamicMeshKindInfos ( )

Frees resources.

Definition at line 69 of file DynamicMeshKindInfos.cc.

References m_item_internals_buffer.

Member Function Documentation

◆ _allocOne()

ItemInternal * Arcane::mesh::DynamicMeshKindInfos::_allocOne ( bool & need_alloc)
inlineprivate

Adds an entity.

Definition at line 291 of file DynamicMeshKindInfos.h.

References Arcane::ItemBase::localId(), m_free_internals, m_internals, m_item_internals_buffer, and m_nb_item.

Referenced by allocOne(), allocOne(), and findOrAllocOne().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ _badSameUniqueId()

void Arcane::mesh::DynamicMeshKindInfos::_badSameUniqueId ( Int64 unique_id) const
private

Definition at line 883 of file DynamicMeshKindInfos.cc.

◆ _badUniqueIdMap()

void Arcane::mesh::DynamicMeshKindInfos::_badUniqueIdMap ( ) const
private

Definition at line 893 of file DynamicMeshKindInfos.cc.

◆ _checkActiveItem()

void Arcane::mesh::DynamicMeshKindInfos::_checkActiveItem ( ItemInternal * item)
private

Definition at line 848 of file DynamicMeshKindInfos.cc.

◆ _dumpList()

void Arcane::mesh::DynamicMeshKindInfos::_dumpList ( )
private

Definition at line 859 of file DynamicMeshKindInfos.cc.

◆ _notifyAdd()

void Arcane::mesh::DynamicMeshKindInfos::_notifyAdd ( ItemInternal * item,
Int64 uid )
inlineprivate

Definition at line 387 of file DynamicMeshKindInfos.h.

◆ _notifyAdd2()

void Arcane::mesh::DynamicMeshKindInfos::_notifyAdd2 ( ItemInternal * item,
Int64 uid )
private

Definition at line 945 of file DynamicMeshKindInfos.cc.

◆ _notifyRemove()

void Arcane::mesh::DynamicMeshKindInfos::_notifyRemove ( ItemInternal * item)
inlineprivate

Definition at line 382 of file DynamicMeshKindInfos.h.

◆ _notifyRemove2()

void Arcane::mesh::DynamicMeshKindInfos::_notifyRemove2 ( ItemInternal * item)
private

Definition at line 934 of file DynamicMeshKindInfos.cc.

◆ _setAdded()

void Arcane::mesh::DynamicMeshKindInfos::_setAdded ( ItemInternal * item)
inlineprivate

Definition at line 369 of file DynamicMeshKindInfos.h.

◆ _setSuppressed()

void Arcane::mesh::DynamicMeshKindInfos::_setSuppressed ( ItemInternal * item)
inlineprivate

Definition at line 361 of file DynamicMeshKindInfos.h.

◆ _updateItemSharedInfoInternalView()

void Arcane::mesh::DynamicMeshKindInfos::_updateItemSharedInfoInternalView ( )
private

Definition at line 915 of file DynamicMeshKindInfos.cc.

◆ addedItems()

Int32ConstArrayView Arcane::mesh::DynamicMeshKindInfos::addedItems ( ) const
inline

List of entities added or removed since the last endUpdate().

Definition at line 96 of file DynamicMeshKindInfos.h.

◆ allItems()

ItemGroup Arcane::mesh::DynamicMeshKindInfos::allItems ( ) const
inline

Group of all entities.

Definition at line 93 of file DynamicMeshKindInfos.h.

◆ allocOne() [1/2]

ItemInternal * Arcane::mesh::DynamicMeshKindInfos::allocOne ( Int64 unique_id)
inline

Adds an entity with a unique ID unique_id.

Definition at line 106 of file DynamicMeshKindInfos.h.

References _allocOne(), and m_items_map.

Here is the call graph for this function:

◆ allocOne() [2/2]

ItemInternal * Arcane::mesh::DynamicMeshKindInfos::allocOne ( Int64 unique_id,
bool & need_alloc )
inline

Adds an entity with a unique ID unique_id.

Definition at line 120 of file DynamicMeshKindInfos.h.

References _allocOne(), and m_items_map.

Here is the call graph for this function:

◆ beginCompactItems()

void Arcane::mesh::DynamicMeshKindInfos::beginCompactItems ( ItemFamilyCompactInfos & compact_infos)

Calculates the new local IDs of the entities so that they are consecutive.

If do_sort is true, the entities are sorted such that their unique id and local id are in ascending order.

Before calling this function, the mesh must be valid and finalized

After calling this function, the oldToNewLocalIds() and newToOldLocalIds() arrays are populated and contain the conversions between new and old local numbers.

Definition at line 478 of file DynamicMeshKindInfos.cc.

References ARCANE_FATAL, Arcane::arcaneIsCheck(), checkValid(), Arcane::Array< T >::data(), Arcane::TraceAccessor::debug(), Arcane::Array< T >::fill(), Arcane::TraceAccessor::info(), Arcane::IMeshCompacter::isSorted(), Arcane::Timer::lastActivationTime(), m_compact_infos, m_internals, m_item_family, m_kind_name, m_mesh, m_nb_item, maxUsedLocalId(), Arcane::IItemInternalSortFunction::name(), Arcane::AbstractArray< T >::size(), Arcane::IItemInternalSortFunction::sortItems(), and Arcane::Timer::TimerReal.

Here is the call graph for this function:

◆ build()

void Arcane::mesh::DynamicMeshKindInfos::build ( )

Definition at line 78 of file DynamicMeshKindInfos.cc.

◆ changed()

bool Arcane::mesh::DynamicMeshKindInfos::changed ( ) const
inline

Definition at line 231 of file DynamicMeshKindInfos.h.

◆ checkValid()

void Arcane::mesh::DynamicMeshKindInfos::checkValid ( )

Checks if the internal structures of the instance are valid.

Definition at line 345 of file DynamicMeshKindInfos.cc.

References ARCANE_FATAL, Arcane::TraceAccessor::debug(), Arcane::TraceAccessor::error(), Arcane::ItemBase::isOwn(), Arcane::ItemBase::isSuppressed(), Arcane::ItemBase::localId(), m_free_internals, m_internals, m_kind_name, m_mesh, m_nb_item, Arcane::ItemBase::owner(), and Arcane::ItemBase::uniqueId().

Referenced by beginCompactItems(), and finalizeMeshChanged().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ clear()

void Arcane::mesh::DynamicMeshKindInfos::clear ( )

Removes all entities.

Definition at line 761 of file DynamicMeshKindInfos.cc.

References removeMany().

Here is the call graph for this function:

◆ detachOne()

void Arcane::mesh::DynamicMeshKindInfos::detachOne ( ItemInternal * item)
inline

Detaches the entity item.

The entity is removed from the list of uniqueIds() if the REMOVE_UID_ON_DETACH macro is defined

Definition at line 177 of file DynamicMeshKindInfos.h.

References m_items_map, Arcane::MutableItemBase::setDetached(), and Arcane::ItemBase::uniqueId().

Here is the call graph for this function:

◆ finalizeMeshChanged()

void Arcane::mesh::DynamicMeshKindInfos::finalizeMeshChanged ( )

Reallocates and recalculates structures after mesh modification.

Specifically injects the added and removed items into the total group of current all_items. Changes are made directly on this group without protection.

Definition at line 104 of file DynamicMeshKindInfos.cc.

References Arcane::arcaneIsCheck(), checkValid(), Arcane::IParallelMng::commRank(), Arcane::TraceAccessor::info(), Arcane::IParallelMng::isParallel(), Arcane::ItemBase::isSuppressed(), Arcane::ItemBase::localId(), m_internals, m_item_family, m_kind_name, m_mesh, m_nb_item, maxUsedLocalId(), Arcane::ItemBase::owner(), Arcane::TraceAccessor::traceMng(), and Arcane::ItemBase::uniqueId().

Here is the call graph for this function:

◆ findOne()

ItemInternal * Arcane::mesh::DynamicMeshKindInfos::findOne ( Int64 uid)
inline

Finds the entity with unique ID uid.

Definition at line 213 of file DynamicMeshKindInfos.h.

References m_items_map.

◆ findOrAllocOne()

ItemInternal * Arcane::mesh::DynamicMeshKindInfos::findOrAllocOne ( Int64 uid,
bool & is_alloc )
inline

Finds the entity with unique ID unique_id and creates it if it does not exist.

Definition at line 195 of file DynamicMeshKindInfos.h.

References _allocOne(), and m_items_map.

Here is the call graph for this function:

◆ finishCompactItems()

void Arcane::mesh::DynamicMeshKindInfos::finishCompactItems ( ItemFamilyCompactInfos & compact_infos)

Definition at line 630 of file DynamicMeshKindInfos.cc.

◆ hasUniqueIdMap()

bool Arcane::mesh::DynamicMeshKindInfos::hasUniqueIdMap ( ) const
inline

Definition at line 274 of file DynamicMeshKindInfos.h.

◆ itemFamily()

ItemFamily * Arcane::mesh::DynamicMeshKindInfos::itemFamily ( ) const
inline

Definition at line 267 of file DynamicMeshKindInfos.h.

◆ itemInternal()

ItemInternal * Arcane::mesh::DynamicMeshKindInfos::itemInternal ( Int32 local_id) const
inline

Definition at line 103 of file DynamicMeshKindInfos.h.

◆ itemListChangedEvent()

EventObservableView< const ItemFamilyItemListChangedEventArgs & > Arcane::mesh::DynamicMeshKindInfos::itemListChangedEvent ( )

Definition at line 925 of file DynamicMeshKindInfos.cc.

◆ itemsInternal()

ConstArrayView< ItemInternal * > Arcane::mesh::DynamicMeshKindInfos::itemsInternal ( ) const
inline

Internal list of ItemInternals.

Read-only; the write version was removed as indicated in todo

Definition at line 101 of file DynamicMeshKindInfos.h.

References m_internals.

◆ itemsMap()

ItemInternalMap & Arcane::mesh::DynamicMeshKindInfos::itemsMap ( )
inline

Definition at line 225 of file DynamicMeshKindInfos.h.

◆ itemsUniqueIdToLocalId() [1/3]

void Arcane::mesh::DynamicMeshKindInfos::itemsUniqueIdToLocalId ( ArrayView< Int64 > ids,
bool do_fatal ) const

Definition at line 188 of file DynamicMeshKindInfos.cc.

◆ itemsUniqueIdToLocalId() [2/3]

void Arcane::mesh::DynamicMeshKindInfos::itemsUniqueIdToLocalId ( Int32ArrayView local_ids,
ConstArrayView< ItemUniqueId > unique_ids,
bool do_fatal ) const

Definition at line 275 of file DynamicMeshKindInfos.cc.

◆ itemsUniqueIdToLocalId() [3/3]

void Arcane::mesh::DynamicMeshKindInfos::itemsUniqueIdToLocalId ( Int32ArrayView local_ids,
Int64ConstArrayView unique_ids,
bool do_fatal ) const

Definition at line 231 of file DynamicMeshKindInfos.cc.

◆ kind()

eItemKind Arcane::mesh::DynamicMeshKindInfos::kind ( ) const
inline

Definition at line 229 of file DynamicMeshKindInfos.h.

◆ maxUsedLocalId()

Integer Arcane::mesh::DynamicMeshKindInfos::maxUsedLocalId ( ) const
inline

Largest local ID used.

This number is used to allocate variable arrays on the mesh entities.

Definition at line 84 of file DynamicMeshKindInfos.h.

References m_internals.

Referenced by beginCompactItems(), and finalizeMeshChanged().

Here is the caller graph for this function:

◆ nbItem()

Integer Arcane::mesh::DynamicMeshKindInfos::nbItem ( ) const
inline

Definition at line 227 of file DynamicMeshKindInfos.h.

◆ newToOldLocalIds()

Int32ConstArrayView Arcane::mesh::DynamicMeshKindInfos::newToOldLocalIds ( ) const

Conversion between new and old local IDs.

This method is only valid after calling beginCompactItems() and before finishCompactItems().

Definition at line 455 of file DynamicMeshKindInfos.cc.

References m_compact_infos.

◆ oldToNewLocalIds()

Int32ConstArrayView Arcane::mesh::DynamicMeshKindInfos::oldToNewLocalIds ( ) const

Conversion between old and new local IDs.

This method is only valid after calling beginCompactItems() and before finishCompactItems().

Definition at line 444 of file DynamicMeshKindInfos.cc.

References m_compact_infos.

◆ prepareForDump()

void Arcane::mesh::DynamicMeshKindInfos::prepareForDump ( )

Prepares variables for dumps.

Definition at line 319 of file DynamicMeshKindInfos.cc.

◆ printFreeInternals()

void Arcane::mesh::DynamicMeshKindInfos::printFreeInternals ( Integer max_print)

Definition at line 779 of file DynamicMeshKindInfos.cc.

◆ readFromDump()

void Arcane::mesh::DynamicMeshKindInfos::readFromDump ( )

Restores info from dumps.

Definition at line 327 of file DynamicMeshKindInfos.cc.

References m_all_group_name, m_free_internals, m_internals, m_item_internals_buffer, m_items_map, m_mesh, and m_nb_item.

◆ removeDetachedOne()

void Arcane::mesh::DynamicMeshKindInfos::removeDetachedOne ( ItemInternal * item)
inline

Removes the detached entity item.

Definition at line 153 of file DynamicMeshKindInfos.h.

References Arcane::ItemBase::localId(), m_free_internals, m_items_map, m_nb_item, and Arcane::ItemBase::uniqueId().

Here is the call graph for this function:

◆ removedItems()

Int32ConstArrayView Arcane::mesh::DynamicMeshKindInfos::removedItems ( ) const
inline

Definition at line 97 of file DynamicMeshKindInfos.h.

◆ removeMany()

void Arcane::mesh::DynamicMeshKindInfos::removeMany ( Int32ConstArrayView local_ids)

Removes a list of entities.

Definition at line 796 of file DynamicMeshKindInfos.cc.

References Arcane::ConstArrayView< T >::data(), m_free_internals, m_internals, m_item_family, m_items_map, m_nb_item, and Arcane::ConstArrayView< T >::size().

Referenced by clear().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeOne()

void Arcane::mesh::DynamicMeshKindInfos::removeOne ( ItemInternal * item)
inline

Removes the entity item.

Definition at line 133 of file DynamicMeshKindInfos.h.

References Arcane::ItemBase::localId(), m_free_internals, m_items_map, m_nb_item, and Arcane::ItemBase::uniqueId().

Here is the call graph for this function:

◆ setHasUniqueIdMap()

void Arcane::mesh::DynamicMeshKindInfos::setHasUniqueIdMap ( bool v)

Definition at line 837 of file DynamicMeshKindInfos.cc.

◆ setItemFamily()

void Arcane::mesh::DynamicMeshKindInfos::setItemFamily ( ItemFamily * item_family)

Definition at line 905 of file DynamicMeshKindInfos.cc.

Member Data Documentation

◆ m_added_items

Int32UniqueArray Arcane::mesh::DynamicMeshKindInfos::m_added_items
private

Definition at line 333 of file DynamicMeshKindInfos.h.

◆ m_all_group

ItemGroup Arcane::mesh::DynamicMeshKindInfos::m_all_group
private

Definition at line 330 of file DynamicMeshKindInfos.h.

◆ m_all_group_name

String Arcane::mesh::DynamicMeshKindInfos::m_all_group_name
private

Name of the group containing all entities.

Definition at line 328 of file DynamicMeshKindInfos.h.

Referenced by readFromDump().

◆ m_common_item_shared_info

ItemSharedInfo* Arcane::mesh::DynamicMeshKindInfos::m_common_item_shared_info = nullptr
private

Definition at line 340 of file DynamicMeshKindInfos.h.

◆ m_compact_infos

ItemFamilyCompactInfos* Arcane::mesh::DynamicMeshKindInfos::m_compact_infos
private

◆ m_free_internals

Int32UniqueArray Arcane::mesh::DynamicMeshKindInfos::m_free_internals

List of free ItemInternals from m_item_internals_buffer.

List of freed ItemInternals from m_internals

Definition at line 346 of file DynamicMeshKindInfos.h.

Referenced by _allocOne(), checkValid(), readFromDump(), removeDetachedOne(), removeMany(), and removeOne().

◆ m_free_internals_in_multi_buffer

UniqueArray<ItemInternal*> Arcane::mesh::DynamicMeshKindInfos::m_free_internals_in_multi_buffer

Definition at line 348 of file DynamicMeshKindInfos.h.

◆ m_has_unique_id_map

bool Arcane::mesh::DynamicMeshKindInfos::m_has_unique_id_map
private

Definition at line 337 of file DynamicMeshKindInfos.h.

◆ m_internals

UniqueArray<ItemInternal*> Arcane::mesh::DynamicMeshKindInfos::m_internals

◆ m_is_first_finalize

bool Arcane::mesh::DynamicMeshKindInfos::m_is_first_finalize
private

Definition at line 336 of file DynamicMeshKindInfos.h.

◆ m_is_verbose

bool Arcane::mesh::DynamicMeshKindInfos::m_is_verbose
private

Definition at line 332 of file DynamicMeshKindInfos.h.

◆ m_item_family

ItemFamily* Arcane::mesh::DynamicMeshKindInfos::m_item_family
private

Associated mesh family.

Definition at line 325 of file DynamicMeshKindInfos.h.

Referenced by beginCompactItems(), DynamicMeshKindInfos(), finalizeMeshChanged(), and removeMany().

◆ m_item_internals_buffer

MultiBufferT<ItemInternal>* Arcane::mesh::DynamicMeshKindInfos::m_item_internals_buffer
private

Buffer to store an instance of ItemInternal.

Warning
A created instance must remain valid throughout an execution.

Definition at line 357 of file DynamicMeshKindInfos.h.

Referenced by _allocOne(), DynamicMeshKindInfos(), readFromDump(), and ~DynamicMeshKindInfos().

◆ m_item_list_change_event

EventObservable<const ItemFamilyItemListChangedEventArgs&> Arcane::mesh::DynamicMeshKindInfos::m_item_list_change_event
private

Definition at line 341 of file DynamicMeshKindInfos.h.

◆ m_items_map

ItemInternalMap Arcane::mesh::DynamicMeshKindInfos::m_items_map
private

Hash table for uniqueId() -> ItemInternal* conversion.

Definition at line 329 of file DynamicMeshKindInfos.h.

Referenced by allocOne(), allocOne(), detachOne(), findOne(), findOrAllocOne(), readFromDump(), removeDetachedOne(), removeMany(), and removeOne().

◆ m_kind

eItemKind Arcane::mesh::DynamicMeshKindInfos::m_kind
private

Corresponding kind.

Definition at line 326 of file DynamicMeshKindInfos.h.

Referenced by DynamicMeshKindInfos().

◆ m_kind_name

String Arcane::mesh::DynamicMeshKindInfos::m_kind_name
private

Name of the entity kind (Node, Cell, ...).

Definition at line 327 of file DynamicMeshKindInfos.h.

Referenced by beginCompactItems(), checkValid(), DynamicMeshKindInfos(), and finalizeMeshChanged().

◆ m_mesh

IMesh* Arcane::mesh::DynamicMeshKindInfos::m_mesh
private

Associated mesh.

Definition at line 324 of file DynamicMeshKindInfos.h.

Referenced by beginCompactItems(), checkValid(), DynamicMeshKindInfos(), finalizeMeshChanged(), and readFromDump().

◆ m_nb_item

Integer Arcane::mesh::DynamicMeshKindInfos::m_nb_item
private

Group of all entities.

Number of allocated entities

Definition at line 331 of file DynamicMeshKindInfos.h.

Referenced by _allocOne(), beginCompactItems(), checkValid(), DynamicMeshKindInfos(), finalizeMeshChanged(), readFromDump(), removeDetachedOne(), removeMany(), and removeOne().

◆ m_removed_items

Int32UniqueArray Arcane::mesh::DynamicMeshKindInfos::m_removed_items
private

Definition at line 334 of file DynamicMeshKindInfos.h.

◆ m_use_new_finalize

bool Arcane::mesh::DynamicMeshKindInfos::m_use_new_finalize
private

Definition at line 335 of file DynamicMeshKindInfos.h.


The documentation for this class was generated from the following files: