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

View of Particle->Cell connectivity. More...

#include <arcane/core/IndexedItemConnectivityView.h>

Inheritance diagram for Arcane::IndexedParticleCellConnectivityView:
Collaboration diagram for Arcane::IndexedParticleCellConnectivityView:

Public Types

using BaseClass = IndexedItemConnectivityGenericViewT<Particle, Cell>
using ItemLocalIdType = Particle::LocalIdType
using ItemLocalIdViewType = BaseClass::ItemLocalIdViewType
using ItemLocalId2 = BaseClass::ItemLocalId2
Public Types inherited from Arcane::IndexedItemConnectivityGenericViewT< Particle, Cell >
using ItemType1Type
using ItemType2Type
using ItemLocalId1
using ItemLocalId2
using ItemLocalIdViewType

Public Member Functions

 explicit (false) IndexedParticleCellConnectivityView(IndexedItemConnectivityViewBase view)
 IndexedParticleCellConnectivityView (IParticleFamily *pf)
 IndexedParticleCellConnectivityView (IItemFamily *pf)
constexpr __host__ __device__ bool hasCell (ItemLocalIdType lid) const
 Indicates if the particle lid is connected to a cell.
constexpr __host__ __device__ ItemLocalId2 cellId (ItemLocalIdType lid) const
 Cell connected to entity lid.
Public Member Functions inherited from Arcane::IndexedItemConnectivityGenericViewT< Particle, Cell >
 explicit (false) IndexedItemConnectivityGenericViewT(IndexedItemConnectivityViewBase view)
constexpr __host__ __device__ ItemLocalIdViewType items (ItemLocalId1 lid) const
 List of entities connected to entity lid.
constexpr __host__ __device__ ItemLocalIdViewType itemIds (ItemLocalId1 lid) const
 List of entities connected to entity lid.
constexpr __host__ __device__ ItemLocalId2 itemId (ItemLocalId1 lid, Int32 index) const
 i-th entity connected to entity lid
Public Member Functions inherited from Arcane::IndexedItemConnectivityViewBase2
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< Itemitems (ItemLocalId lid) const
 List of entities connected to entity lid.

Additional Inherited Members

Protected Member Functions inherited from Arcane::IndexedItemConnectivityViewBase2
 IndexedItemConnectivityViewBase2 (IndexedItemConnectivityViewBase view)
Protected Attributes inherited from Arcane::IndexedItemConnectivityViewBase2
ItemConnectivityContainerView m_container_view

Detailed Description

View of Particle->Cell connectivity.

There is only one cell associated with a particle.

Definition at line 443 of file IndexedItemConnectivityView.h.

Member Typedef Documentation

◆ BaseClass

using Arcane::IndexedParticleCellConnectivityView::BaseClass = IndexedItemConnectivityGenericViewT<Particle, Cell>

Definition at line 448 of file IndexedItemConnectivityView.h.

◆ ItemLocalId2

using Arcane::IndexedParticleCellConnectivityView::ItemLocalId2 = BaseClass::ItemLocalId2

Definition at line 451 of file IndexedItemConnectivityView.h.

◆ ItemLocalIdType

using Arcane::IndexedParticleCellConnectivityView::ItemLocalIdType = Particle::LocalIdType

Definition at line 449 of file IndexedItemConnectivityView.h.

◆ ItemLocalIdViewType

using Arcane::IndexedParticleCellConnectivityView::ItemLocalIdViewType = BaseClass::ItemLocalIdViewType

Definition at line 450 of file IndexedItemConnectivityView.h.

Constructor & Destructor Documentation

◆ IndexedParticleCellConnectivityView() [1/2]

Arcane::IndexedParticleCellConnectivityView::IndexedParticleCellConnectivityView ( IParticleFamily * pf)
explicit

Definition at line 169 of file IndexedItemConnectivityView.cc.

◆ IndexedParticleCellConnectivityView() [2/2]

Arcane::IndexedParticleCellConnectivityView::IndexedParticleCellConnectivityView ( IItemFamily * pf)
explicit

Definition at line 178 of file IndexedItemConnectivityView.cc.

Member Function Documentation

◆ cellId()

__host__ __device__ ItemLocalId2 Arcane::IndexedParticleCellConnectivityView::cellId ( ItemLocalIdType lid) const
inlineconstexpr

Cell connected to entity lid.

Definition at line 470 of file IndexedItemConnectivityView.h.

References Arcane::IndexedItemConnectivityGenericViewT< Particle, Cell >::itemId().

Referenced by hasCell().

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

◆ explicit()

Arcane::IndexedParticleCellConnectivityView::explicit ( false )
inline

Definition at line 455 of file IndexedItemConnectivityView.h.

◆ hasCell()

__host__ __device__ bool Arcane::IndexedParticleCellConnectivityView::hasCell ( ItemLocalIdType lid) const
inlineconstexpr

Indicates if the particle lid is connected to a cell.

Definition at line 465 of file IndexedItemConnectivityView.h.

References cellId().

Here is the call graph for this function:

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