DNDSR 0.2.1
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::Geom::AdjPairTrackedDeviceView< B, TArray > Struct Template Reference

Mutable device view for AdjPairTracked. More...

#include <Mesh_DeviceView.hpp>

Inheritance diagram for DNDS::Geom::AdjPairTrackedDeviceView< B, TArray >:
[legend]
Collaboration diagram for DNDS::Geom::AdjPairTrackedDeviceView< B, TArray >:
[legend]

Public Types

using t_base = ArrayPairDeviceView< B, TArray >
 
using t_arrayDeviceView = typename t_base::t_arrayDeviceView
 
using t_self = AdjPairTrackedDeviceView< B, TArray >
 
- Public Types inherited from DNDS::ArrayPairDeviceView< B, TArray >
using t_arrayDeviceView = typename TArray::template t_deviceView< B >
 
using t_self = ArrayPairDeviceView< B, TArray >
 

Public Member Functions

DNDS_DEVICE_CALLABLE AdjPairTrackedDeviceView (const t_arrayDeviceView &n_father, const t_arrayDeviceView &n_son, AdjIndexInfoDeviceView n_idx)
 
- Public Member Functions inherited from DNDS::ArrayPairDeviceView< B, TArray >
DNDS_DEVICE_CALLABLE ArrayPairDeviceView (const t_arrayDeviceView &n_father, const t_arrayDeviceView &n_son)
 
- Public Member Functions inherited from DNDS::ArrayPairDeviceView_Base< ArrayPairDeviceView< B, TArray > >
DNDS_DEVICE_CALLABLE index Size () const
 Combined father + son row count.
 
DNDS_DEVICE_CALLABLE auto RowSize () const
 Uniform row width (delegates to father; father/son share it).
 
DNDS_DEVICE_CALLABLE auto RowSize (index i) const
 Per-row width in the combined address space.
 
DNDS_DEVICE_CALLABLE auto operator[] (index i) const
 Row pointer for index i in the combined address space (const).
 
DNDS_DEVICE_CALLABLE auto operator[] (index i)
 Row pointer for index i (mutable).
 
DNDS_DEVICE_CALLABLE decltype(autooperator() (index i, TOthers... aOthers)
 N-ary element access in the combined address space (mutable). Forwards extra arguments to the underlying operator().
 
DNDS_DEVICE_CALLABLE decltype(autooperator() (index i, TOthers... aOthers) const
 N-ary element access (const).
 

Public Attributes

AdjIndexInfoDeviceView idx
 
- Public Attributes inherited from DNDS::ArrayPairDeviceView< B, TArray >
t_arrayDeviceView father
 
t_arrayDeviceView son
 

Detailed Description

template<DeviceBackend B, class TArray>
struct DNDS::Geom::AdjPairTrackedDeviceView< B, TArray >

Mutable device view for AdjPairTracked.

Inherits from ArrayPairDeviceView (providing operator[], operator(), Size(), RowSize()) and adds per-adj state.

Definition at line 126 of file Mesh_DeviceView.hpp.

Member Typedef Documentation

◆ t_arrayDeviceView

template<DeviceBackend B, class TArray >
using DNDS::Geom::AdjPairTrackedDeviceView< B, TArray >::t_arrayDeviceView = typename t_base::t_arrayDeviceView

Definition at line 129 of file Mesh_DeviceView.hpp.

◆ t_base

template<DeviceBackend B, class TArray >
using DNDS::Geom::AdjPairTrackedDeviceView< B, TArray >::t_base = ArrayPairDeviceView<B, TArray>

Definition at line 128 of file Mesh_DeviceView.hpp.

◆ t_self

template<DeviceBackend B, class TArray >
using DNDS::Geom::AdjPairTrackedDeviceView< B, TArray >::t_self = AdjPairTrackedDeviceView<B, TArray>

Definition at line 132 of file Mesh_DeviceView.hpp.

Constructor & Destructor Documentation

◆ AdjPairTrackedDeviceView()

template<DeviceBackend B, class TArray >
DNDS_DEVICE_CALLABLE DNDS::Geom::AdjPairTrackedDeviceView< B, TArray >::AdjPairTrackedDeviceView ( const t_arrayDeviceView n_father,
const t_arrayDeviceView n_son,
AdjIndexInfoDeviceView  n_idx 
)
inline

Definition at line 135 of file Mesh_DeviceView.hpp.

Member Data Documentation

◆ idx

Definition at line 130 of file Mesh_DeviceView.hpp.


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