DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::ArrayDofDeviceView< B, n_m, n_n > Class Template Reference

Mutable device view of an ArrayDof father/son pair. More...

#include <ArrayDOF.hpp>

Inheritance diagram for DNDS::ArrayDofDeviceView< B, n_m, n_n >:
[legend]
Collaboration diagram for DNDS::ArrayDofDeviceView< B, n_m, n_n >:
[legend]

Public Types

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

Public Member Functions

DNDS_DEVICE_CALLABLE ArrayDofDeviceView (const t_base &base_view)
 
DNDS_DEVICE_CALLABLE ArrayDofDeviceView (t_base &&base_view)
 
- Public Member Functions inherited from DNDS::ArrayPairDeviceView< B, ArrayEigenMatrix< n_m, n_n > >
DNDS_DEVICE_CALLABLE ArrayPairDeviceView (const t_arrayDeviceView &n_father, const t_arrayDeviceView &n_son)
 
- Public Member Functions inherited from DNDS::ArrayPairDeviceView_Base< Derived >
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).
 
template<class... TOthers>
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().
 
template<class... TOthers>
DNDS_DEVICE_CALLABLE decltype(autooperator() (index i, TOthers... aOthers) const
 N-ary element access (const).
 

Additional Inherited Members

- Public Attributes inherited from DNDS::ArrayPairDeviceView< B, ArrayEigenMatrix< n_m, n_n > >
t_arrayDeviceView father
 
t_arrayDeviceView son
 

Detailed Description

template<DeviceBackend B, int n_m, int n_n>
class DNDS::ArrayDofDeviceView< B, n_m, n_n >

Mutable device view of an ArrayDof father/son pair.

Definition at line 33 of file ArrayDOF.hpp.

Member Typedef Documentation

◆ t_base

template<DeviceBackend B, int n_m, int n_n>
using DNDS::ArrayDofDeviceView< B, n_m, n_n >::t_base = ArrayPairDeviceView<B, ArrayEigenMatrix<n_m, n_n> >

Definition at line 36 of file ArrayDOF.hpp.

Constructor & Destructor Documentation

◆ ArrayDofDeviceView() [1/2]

template<DeviceBackend B, int n_m, int n_n>
DNDS_DEVICE_CALLABLE DNDS::ArrayDofDeviceView< B, n_m, n_n >::ArrayDofDeviceView ( const t_base base_view)
inline

Definition at line 41 of file ArrayDOF.hpp.

◆ ArrayDofDeviceView() [2/2]

template<DeviceBackend B, int n_m, int n_n>
DNDS_DEVICE_CALLABLE DNDS::ArrayDofDeviceView< B, n_m, n_n >::ArrayDofDeviceView ( t_base &&  base_view)
inline

Definition at line 42 of file ArrayDOF.hpp.


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