DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::EulerP::BCHandler::t_deviceView< B > Struct Template Reference

Move-only device view wrapper owning the BC device view storage. More...

#include <EulerP_BC.hpp>

Collaboration diagram for DNDS::EulerP::BCHandler::t_deviceView< B >:
[legend]

Public Member Functions

 t_deviceView (host_device_vector< BC_DeviceView< B > > &&n_bcs_device_view)
 
 t_deviceView (t_deviceView &&R) noexcept=default
 only permit moving to avoid host_device_vector to change
 
 t_deviceView (const t_deviceView &R)=delete
 
t_deviceViewoperator= (t_deviceView &&R)=delete
 
t_deviceViewoperator= (const t_deviceView &R)=delete
 
 operator BCHandlerDeviceView< B > () const
 

Public Attributes

host_device_vector< BC_DeviceView< B > > bcs_device_view
 Owned device storage of BC views.
 
BCHandlerDeviceView< B > view
 The handler device view referencing bcs_device_view.
 

Detailed Description

template<DeviceBackend B>
struct DNDS::EulerP::BCHandler::t_deviceView< B >

Move-only device view wrapper owning the BC device view storage.

Wraps a host_device_vector of BC_DeviceView and the resulting BCHandlerDeviceView. Move-only to prevent accidental copies that would invalidate device pointers.

Template Parameters
BDevice backend.

Definition at line 507 of file EulerP_BC.hpp.

Constructor & Destructor Documentation

◆ t_deviceView() [1/3]

template<DeviceBackend B>
DNDS::EulerP::BCHandler::t_deviceView< B >::t_deviceView ( host_device_vector< BC_DeviceView< B > > &&  n_bcs_device_view)
inline

Definition at line 512 of file EulerP_BC.hpp.

◆ t_deviceView() [2/3]

template<DeviceBackend B>
DNDS::EulerP::BCHandler::t_deviceView< B >::t_deviceView ( t_deviceView< B > &&  R)
defaultnoexcept

only permit moving to avoid host_device_vector to change

◆ t_deviceView() [3/3]

template<DeviceBackend B>
DNDS::EulerP::BCHandler::t_deviceView< B >::t_deviceView ( const t_deviceView< B > &  R)
delete

Member Function Documentation

◆ operator BCHandlerDeviceView< B >()

Definition at line 525 of file EulerP_BC.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

Member Data Documentation

◆ bcs_device_view

Owned device storage of BC views.

Definition at line 509 of file EulerP_BC.hpp.

◆ view

The handler device view referencing bcs_device_view.

Definition at line 510 of file EulerP_BC.hpp.


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