|
| | ItemData () |
| | Data structure necessary for generic item addition.
|
|
| ItemData (const ItemData &rhs)=default |
| | Copy constructor.
|
| | ItemData (Integer nb_items, Integer info_size, Int32ArrayView item_lids, IItemFamily *item_family, IItemFamilyModifier *item_family_modifier, Int32 subdomain_id) |
| | ItemData (Integer nb_items, Integer info_size, IItemFamily *item_family, IItemFamilyModifier *item_family_modifier, Int32 subdomain_id) |
| virtual | ~ItemData () |
| Integer | nbItems () const |
| Int64Array & | itemInfos () |
| Int64ConstArrayView | itemInfos () const |
| Int32ArrayView | itemLids () |
| Int32ArrayView | itemOwners () |
| Int32ConstArrayView | itemOwners () const |
| IItemFamily * | itemFamily () |
| IItemFamily const * | itemFamily () const |
| IItemFamilyModifier * | itemFamilyModifier () |
| Integer | subDomainId () const |
| void | serialize (ISerializer *buffer) |
| void | deserialize (ISerializer *buffer, IMesh *mesh) |
| void | deserialize (ISerializer *buffer, IMesh *mesh, Int32Array &item_lids) |
| void | clear () |
Definition at line 42 of file ItemData.h.
◆ ItemData() [1/3]
| Arcane::mesh::ItemData::ItemData |
( |
| ) |
|
|
inline |
Data structure necessary for generic item addition.
and where ItemData aggregates the item id/connectivity information. The item_infos array (ItemData::itemInfos()) follows this structure: item_infos[0] = nb_connected_families // Only constitutive (owning) connections. item_infos[i] = first_item_type item_infos[i+1] = first_item_uid item_infos[i+2] = first_connected_family_id item_infos[i+3] = nb_connected_items_in_first_family item_infos[i+4...i+n] = first_family connected items uids item_infos[i+n+1] = second_connected_family_id item_infos[i+n+1...i+m] = second_family connected items uids item_infos[i+m+1] = second_item_type item_infos[i+m+2] = second_item_uid ...same as first item Build empty data
Definition at line 64 of file ItemData.h.
Referenced by ItemData().
◆ ItemData() [2/3]
The item_lids argument is an output argument. It must be sized to nb_items. It is filled with the lids of the items created when ItemData is used for item addition. This constructor is used when these lids are already in an external array that needs to be filled.
Definition at line 78 of file ItemData.h.
◆ ItemData() [3/3]
Here, item_lids are not provided and are therefore created internally.
Definition at line 93 of file ItemData.h.
◆ ~ItemData()
| virtual Arcane::mesh::ItemData::~ItemData |
( |
| ) |
|
|
inlinevirtual |
◆ _deserialize()
| void Arcane::mesh::ItemData::_deserialize |
( |
ISerializer * | buffer, |
|
|
IMesh * | mesh ) |
|
private |
◆ _ownerDefaultInit()
| void Arcane::mesh::ItemData::_ownerDefaultInit |
( |
| ) |
|
|
inlineprivate |
◆ clear()
| void Arcane::mesh::ItemData::clear |
( |
| ) |
|
◆ deserialize() [1/2]
◆ deserialize() [2/2]
◆ itemFamily() [1/2]
◆ itemFamily() [2/2]
| IItemFamily const * Arcane::mesh::ItemData::itemFamily |
( |
| ) |
const |
|
inline |
◆ itemFamilyModifier()
◆ itemInfos() [1/2]
| Int64Array & Arcane::mesh::ItemData::itemInfos |
( |
| ) |
|
|
inline |
◆ itemInfos() [2/2]
◆ itemLids()
◆ itemOwners() [1/2]
◆ itemOwners() [2/2]
◆ nbItems()
| Integer Arcane::mesh::ItemData::nbItems |
( |
| ) |
const |
|
inline |
◆ serialize()
| void Arcane::mesh::ItemData::serialize |
( |
ISerializer * | buffer | ) |
|
◆ subDomainId()
| Integer Arcane::mesh::ItemData::subDomainId |
( |
| ) |
const |
|
inline |
◆ _internal_item_lids
◆ m_item_family
◆ m_item_family_modifier
◆ m_item_infos
◆ m_item_lids
◆ m_item_owners
◆ m_nb_items
| Integer Arcane::mesh::ItemData::m_nb_items |
|
private |
◆ m_subdomain_id
| Integer Arcane::mesh::ItemData::m_subdomain_id |
|
private |
The documentation for this class was generated from the following files: