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

Non-trivially-copyable device view holding shared_ptr to fv and device views of BC/physics. More...

#include <EulerP_Evaluator.hpp>

Public Member Functions

 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 EvaluatorDeviceView< B > () const
 

Public Attributes

ssp< CFV::FiniteVolumefv
 
t_bcHandler::element_type::t_deviceView< B > bcHandler
 
t_physics::element_type::t_deviceView< B > physics
 

Detailed Description

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

Non-trivially-copyable device view holding shared_ptr to fv and device views of BC/physics.

Unlike EvaluatorDeviceView (trivially copyable for kernels), this struct retains ownership of the fv shared_ptr and is move-only to prevent accidental copies that would interfere with device memory management.

Template Parameters
BThe DeviceBackend.

Definition at line 304 of file EulerP_Evaluator.hpp.

Constructor & Destructor Documentation

◆ t_deviceView() [1/2]

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

only permit moving to avoid host_device_vector to change

◆ t_deviceView() [2/2]

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

Member Function Documentation

◆ operator EvaluatorDeviceView< B >()

Definition at line 317 of file EulerP_Evaluator.hpp.

◆ operator=() [1/2]

◆ operator=() [2/2]

Member Data Documentation

◆ bcHandler

◆ fv

◆ physics


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