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

Connectivity table from 'Cell' to its 'AllEnvCell' intended for use on accelerator. More...

#include <arcane/materials/AllCellToAllEnvCellConverter.h>

Collaboration diagram for Arcane::Materials::AllCellToAllEnvCell:

Private Member Functions

__host__ __device__ Span< ComponentItemLocalId > operator[] (Int32 cell_id) const
 Access method for the "connectivity" table cell -> all env cells.

Private Attributes

friend AllCellToAllEnvCellContainer
Span< Span< ComponentItemLocalId > > m_allcell_allenvcell_ptr

Friends

class CellToAllEnvCellAccessor
class CellToAllComponentCellEnumerator

Detailed Description

Connectivity table from 'Cell' to its 'AllEnvCell' intended for use on accelerator.

Class that maintains the connectivity of all cells Cell to all their cells AllEnvCell.

An instance is created via the create() method.

The initialization cost is high; memory must be allocated and structures filled. We iterate through all meshes and for each cell, we call the CellToAllEnvCellConverter.

Once the instance is created, it must be updated every time that the material/environment topology changes (which is also costly).

This class is an internal class and should not be manipulated directly. You must use the associated helpers in IMeshMaterialMng and the CellToAllEnvCellAccessor class.

Definition at line 53 of file AllCellToAllEnvCellConverter.h.

Member Function Documentation

◆ operator[]()

__host__ __device__ Span< ComponentItemLocalId > Arcane::Materials::AllCellToAllEnvCell::operator[] ( Int32 cell_id) const
inlineprivate

Access method for the "connectivity" table cell -> all env cells.

Definition at line 62 of file AllCellToAllEnvCellConverter.h.

◆ CellToAllComponentCellEnumerator

friend class CellToAllComponentCellEnumerator
friend

Definition at line 56 of file AllCellToAllEnvCellConverter.h.

◆ CellToAllEnvCellAccessor

friend class CellToAllEnvCellAccessor
friend

Definition at line 55 of file AllCellToAllEnvCellConverter.h.

Member Data Documentation

◆ AllCellToAllEnvCellContainer

friend Arcane::Materials::AllCellToAllEnvCell::AllCellToAllEnvCellContainer
private

Definition at line 57 of file AllCellToAllEnvCellConverter.h.

◆ m_allcell_allenvcell_ptr

Span<Span<ComponentItemLocalId> > Arcane::Materials::AllCellToAllEnvCell::m_allcell_allenvcell_ptr
private

Definition at line 69 of file AllCellToAllEnvCellConverter.h.


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