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

Device-callable view of the BC handler providing BC lookup by zone ID. More...

#include <EulerP_BC.hpp>

Public Member Functions

DNDS_DEVICE_CALLABLE BCHandlerDeviceView (vector_DeviceView< B, BC_DeviceView< B >, int32_t > n_bcs)
 Constructs from a device view of BC_DeviceView array.
 
DNDS_DEVICE_CALLABLE BC_DeviceView< B > & id2bc (Geom::t_index id)
 Looks up a boundary condition by zone ID.
 

Detailed Description

template<DeviceBackend B>
class DNDS::EulerP::BCHandlerDeviceView< B >

Device-callable view of the BC handler providing BC lookup by zone ID.

Holds a device-resident array of BC_DeviceView objects indexed by boundary zone ID.

Template Parameters
BDevice backend (Host or CUDA).

Definition at line 349 of file EulerP_BC.hpp.

Constructor & Destructor Documentation

◆ BCHandlerDeviceView()

template<DeviceBackend B>
DNDS_DEVICE_CALLABLE DNDS::EulerP::BCHandlerDeviceView< B >::BCHandlerDeviceView ( vector_DeviceView< B, BC_DeviceView< B >, int32_t >  n_bcs)
inline

Constructs from a device view of BC_DeviceView array.

Definition at line 357 of file EulerP_BC.hpp.

Member Function Documentation

◆ id2bc()

Looks up a boundary condition by zone ID.

Parameters
idBoundary zone identifier.
Returns
Reference to the BC_DeviceView for the given zone.

Definition at line 364 of file EulerP_BC.hpp.


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