Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::MutableIndexedParticleCellConnectivityView Class Reference

Editable view of Particle->Cell connectivity. More...

#include <arcane/core/IndexedItemConnectivityView.h>

Public Types

using BaseClass = IndexedItemConnectivityGenericViewT<Particle, Cell>
using ItemLocalIdType = Particle::LocalIdType
using ItemLocalIdViewType = BaseClass::ItemLocalIdViewType
using ItemLocalId2 = BaseClass::ItemLocalId2
Public Types inherited from Arcane::IndexedParticleCellConnectivityView
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

 MutableIndexedParticleCellConnectivityView (IParticleFamily *pf)
 MutableIndexedParticleCellConnectivityView (IItemFamily *pf)
__host__ __device__ void setCellId (ParticleLocalId particle_lid, CellLocalId cell_lid) const
 Cell connected to entity lid.
Public Member Functions inherited from Arcane::IndexedParticleCellConnectivityView
 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

Editable view of Particle->Cell connectivity.

This view allows modifying the cell to which a particle belongs.

Definition at line 484 of file IndexedItemConnectivityView.h.

Member Typedef Documentation

◆ BaseClass

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

Definition at line 489 of file IndexedItemConnectivityView.h.

◆ ItemLocalId2

using Arcane::MutableIndexedParticleCellConnectivityView::ItemLocalId2 = BaseClass::ItemLocalId2

Definition at line 492 of file IndexedItemConnectivityView.h.

◆ ItemLocalIdType

using Arcane::MutableIndexedParticleCellConnectivityView::ItemLocalIdType = Particle::LocalIdType

Definition at line 490 of file IndexedItemConnectivityView.h.

◆ ItemLocalIdViewType

using Arcane::MutableIndexedParticleCellConnectivityView::ItemLocalIdViewType = BaseClass::ItemLocalIdViewType

Definition at line 491 of file IndexedItemConnectivityView.h.

Constructor & Destructor Documentation

◆ MutableIndexedParticleCellConnectivityView() [1/2]

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

Definition at line 188 of file IndexedItemConnectivityView.cc.

◆ MutableIndexedParticleCellConnectivityView() [2/2]

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

Definition at line 197 of file IndexedItemConnectivityView.cc.

Member Function Documentation

◆ setCellId()

__host__ __device__ void Arcane::MutableIndexedParticleCellConnectivityView::setCellId ( ParticleLocalId particle_lid,
CellLocalId cell_lid ) const
inline

Cell connected to entity lid.

Definition at line 502 of file IndexedItemConnectivityView.h.


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