Item->item connectivity, exactly 1 item connected per item (0 not allowed). More...
#include <arcane/mesh/ItemConnectivity.h>
Public Types | |
| typedef ItemScalarProperty< Int32 > | ItemPropertyType |
Public Member Functions | |
| ItemConnectivity (IItemFamily *source_family, IItemFamily *target_family, const String &aname) | |
| ItemConnectivity (IItemFamily *source_family, IItemFamily *target_family, const ItemPropertyType &item_property, const String &aname) | |
| virtual ItemVectorView | _connectedItems (ItemLocalId item, ConnectivityItemVector &con_items) const |
| Fills con_items with the entities connected to item. | |
| virtual ConnectivityItemVectorCatalyst | _connectedItems (ItemLocalId item) const |
| virtual void | updateConnectivity (Int32ConstArrayView from_items, Int32ConstArrayView to_items) |
| Update of the connectivity. | |
| const Item | operator() (ItemLocalId item) const |
| ItemScalarProperty< Int32 > & | itemProperty () |
| void | updateItemProperty (const ItemScalarProperty< Int32 > &item_property) |
| virtual Integer | nbConnectedItem (ItemLocalId lid) const |
| Number of entities connected to the source entity with local ID lid. | |
| virtual Int32 | connectedItemLocalId (ItemLocalId lid, Integer index) const |
| localId() of the index-th entity connected to the source entity with local ID lid | |
| virtual void | notifySourceFamilyLocalIdChanged (Int32ConstArrayView new_to_old_ids) |
| Notifies the connectivity that the source family has been compacted. | |
| virtual void | notifyTargetFamilyLocalIdChanged (Int32ConstArrayView old_to_new_ids) |
| Notifies the connectivity that the target family has been compacted. | |
| Public Member Functions inherited from Arcane::AbstractConnectivity | |
| AbstractConnectivity (IItemFamily *source_family, IItemFamily *target_family, const String &connectivity_name) | |
| virtual const String & | name () const |
| Name of the connectivity. | |
| virtual ConstArrayView< IItemFamily * > | families () const |
| List of families (sourceFamily() + targetFamily()). | |
| virtual IItemFamily * | sourceFamily () const |
| Source family. | |
| virtual IItemFamily * | targetFamily () const |
| Target family. | |
| virtual void | _initializeStorage (ConnectivityItemVector *) |
| Implements the initialization of civ for this connectivity. | |
Private Member Functions | |
| void | compute () |
Private Attributes | |
| ItemScalarProperty< Int32 > | m_item_property |
| SharedArray< ItemInternal * > | m_item_internals |
Additional Inherited Members | |
| Protected Member Functions inherited from Arcane::AbstractConnectivity | |
| ConstArrayView< IItemFamily * > | _families () const |
| IItemFamily * | _sourceFamily () const |
| IItemFamily * | _targetFamily () const |
Item->item connectivity, exactly 1 item connected per item (0 not allowed).
Definition at line 96 of file ItemConnectivity.h.
| typedef ItemScalarProperty<Int32> Arcane::ItemConnectivity::ItemPropertyType |
Definition at line 101 of file ItemConnectivity.h.
|
inline |
Definition at line 105 of file ItemConnectivity.h.
|
inline |
Definition at line 111 of file ItemConnectivity.h.
|
inlinevirtual |
Definition at line 125 of file ItemConnectivity.h.
|
inlinevirtual |
Fills con_items with the entities connected to item.
Implements Arcane::IItemConnectivityAccessor.
Definition at line 119 of file ItemConnectivity.h.
References Arcane::ConnectivityItemVector::accessor(), and Arcane::ConnectivityItemVector::setItem().
|
private |
Definition at line 28 of file ItemConnectivity.cc.
|
inlinevirtual |
localId() of the index-th entity connected to the source entity with local ID lid
Implements Arcane::IItemConnectivityAccessor.
Definition at line 160 of file ItemConnectivity.h.
|
inline |
Definition at line 150 of file ItemConnectivity.h.
|
inlinevirtual |
Number of entities connected to the source entity with local ID lid.
Implements Arcane::IItemConnectivityAccessor.
Definition at line 154 of file ItemConnectivity.h.
|
inlinevirtual |
Notifies the connectivity that the source family has been compacted.
Implements Arcane::IItemConnectivity.
Definition at line 167 of file ItemConnectivity.h.
|
virtual |
Notifies the connectivity that the target family has been compacted.
Implements Arcane::IItemConnectivity.
Definition at line 153 of file ItemConnectivity.cc.
References ENUMERATE_ITEM.
|
inline |
Definition at line 136 of file ItemConnectivity.h.
|
virtual |
Update of the connectivity.
Both arrays from_items and to_items are of the same size. Items can therefore potentially be repeated if they appear in multiple connections. For example, if we have the following connections (by lid) 1-3; 2-4; 1-5, we input from_items [ 1 2 1 ] and to_items [ 3 4 5 ].
Implements Arcane::IItemConnectivity.
Definition at line 88 of file ItemConnectivity.cc.
References Arcane::ConstArrayView< T >::size(), and Arcane::ItemVectorView::size().
|
inline |
Definition at line 152 of file ItemConnectivity.h.
|
private |
Definition at line 178 of file ItemConnectivity.h.
|
private |
Definition at line 177 of file ItemConnectivity.h.