Base class for a view on unstructured connectivity. More...
#include <arcane/core/IndexedItemConnectivityView.h>
Public Member Functions | |
| constexpr | IndexedItemConnectivityViewBase (ItemConnectivityContainerView container_view, eItemKind source_kind, eItemKind target_kind) |
| constexpr __host__ __device__ Int32 | nbSourceItem () const |
| Number of source entities. | |
| constexpr __host__ __device__ Int32 | nbItem (ItemLocalId lid) const |
| Number of entities connected to entity lid. | |
| constexpr __host__ __device__ ItemLocalIdListViewT< Item > | items (ItemLocalId lid) const |
| List of entities connected to entity lid. | |
| eItemKind | sourceItemKind () const |
| eItemKind | targetItemKind () const |
| void | init (SmallSpan< const Int32 > nb_item, SmallSpan< const Int32 > indexes, SmallSpan< const Int32 > list_data, eItemKind source_kind, eItemKind target_kind) |
| Initializes the view. | |
| void | set (IndexedItemConnectivityViewBase view) |
| void | _checkValid (eItemKind k1, eItemKind k2) const |
Protected Member Functions | |
| void | _badConversion (eItemKind k1, eItemKind k2) const |
Protected Attributes | |
| ItemConnectivityContainerView | m_container_view |
| eItemKind | m_source_kind = IK_Unknown |
| eItemKind | m_target_kind = IK_Unknown |
Friends | |
| class | IndexedItemConnectivityViewBase2 |
Base class for a view on unstructured connectivity.
Like all views, instances of this class are temporary and should not be kept between two mesh evolutions.
Definition at line 36 of file IndexedItemConnectivityView.h.
|
inlineconstexpr |
Definition at line 43 of file IndexedItemConnectivityView.h.
|
inline |
Definition at line 97 of file IndexedItemConnectivityView.h.
|
inline |
Initializes the view.
Definition at line 67 of file IndexedItemConnectivityView.h.
References init().
Referenced by init().
|
inlineconstexpr |
List of entities connected to entity lid.
Definition at line 58 of file IndexedItemConnectivityView.h.
|
inlineconstexpr |
Number of entities connected to entity lid.
Definition at line 56 of file IndexedItemConnectivityView.h.
|
inlineconstexpr |
Number of source entities.
Definition at line 54 of file IndexedItemConnectivityView.h.
|
inline |
Definition at line 78 of file IndexedItemConnectivityView.h.
|
inline |
Definition at line 62 of file IndexedItemConnectivityView.h.
|
inline |
Definition at line 63 of file IndexedItemConnectivityView.h.
|
friend |
Definition at line 38 of file IndexedItemConnectivityView.h.
|
protected |
Definition at line 87 of file IndexedItemConnectivityView.h.
|
protected |
Definition at line 88 of file IndexedItemConnectivityView.h.
|
protected |
Definition at line 89 of file IndexedItemConnectivityView.h.