77 String name()
const override {
return ItemFamily::name(); }
79 Integer
nbItem()
const override {
return ItemFamily::nbItem(); }
81 void endUpdate()
override {
return ItemFamily::endUpdate(); }
88 return _allocDoF(uid);
93 return _allocDoF(uid);
103 ItemInternal* findOrAllocOne(
Int64 uid,
bool& is_alloc)
105 return _findOrAllocDoF(uid, is_alloc);
109 IItemFamily* family()
override {
return this; }
120 void computeSynchronizeInfos()
override;
122 DoFGroup allDoFs() {
return ItemFamily::allItems(); }
123 DoFGroup ownDoFs() {
return ItemFamily::allItems().own(); }
124 DoFGroup ghostDoFs() {
return ItemFamily::allItems().ghost(); }
126 void removeDoFs(Int32ConstArrayView items_local_id)
override;
130 void build()
override;
131 void _addItems(Int64ConstArrayView unique_ids, Int32ArrayView items);
132 void addGhostItems(Int64ConstArrayView unique_ids, Int32ArrayView items, Int32ConstArrayView owners)
override;
133 void _removeItems(Int32ConstArrayView local_ids,
bool keep_ghost =
false) { internalRemoveItems(local_ids, keep_ghost); };
134 void internalRemoveItems(Int32ConstArrayView local_ids,
bool keep_ghost =
false)
override;
138 void _printInfos(Integer nb_added);
142 void preAllocate(Integer nb_item);
143 ItemInternal* _allocDoF(
const Int64 uid);
144 ItemInternal* _allocDoFGhost(
const Int64 uid,
const Int32 owner);
145 ItemInternal* _findOrAllocDoF(
const Int64 uid,
bool& is_alloc);
147 ItemSharedInfoWithType* m_shared_info;
149 friend class DynamicMesh;