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

Device-callable view of the Evaluator, combining finite volume, BC handler, and physics views. More...

#include <EulerP_Evaluator.hpp>

Public Types

using t_fv = TFiniteVolume::t_deviceView< B >
 
using t_bcHandler = BCHandlerDeviceView< B >
 
using t_physics = PhysicsDeviceView< B >
 

Public Member Functions

DNDS_DEVICE_CALLABLE EvaluatorDeviceView (t_fv n_fv, t_bcHandler n_bcHandler, t_physics n_physics)
 

Public Attributes

t_fv fv
 Device view of the finite volume / VFV reconstruction object.
 
t_bcHandler bcHandler
 Device view of the boundary condition handler.
 
t_physics physics
 Device view of the gas physics model.
 

Detailed Description

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

Device-callable view of the Evaluator, combining finite volume, BC handler, and physics views.

This trivially-copyable struct bundles the device views needed by GPU/Host kernels so they can access mesh geometry, boundary conditions, and gas physics without indirecting through shared pointers.

Template Parameters
BThe DeviceBackend (Host or CUDA).

Definition at line 39 of file EulerP_Evaluator.hpp.

Member Typedef Documentation

◆ t_bcHandler

template<DeviceBackend B>
using DNDS::EulerP::EvaluatorDeviceView< B >::t_bcHandler = BCHandlerDeviceView<B>

Definition at line 44 of file EulerP_Evaluator.hpp.

◆ t_fv

Definition at line 42 of file EulerP_Evaluator.hpp.

◆ t_physics

template<DeviceBackend B>
using DNDS::EulerP::EvaluatorDeviceView< B >::t_physics = PhysicsDeviceView<B>

Definition at line 46 of file EulerP_Evaluator.hpp.

Constructor & Destructor Documentation

◆ EvaluatorDeviceView()

template<DeviceBackend B>
DNDS_DEVICE_CALLABLE DNDS::EulerP::EvaluatorDeviceView< B >::EvaluatorDeviceView ( t_fv  n_fv,
t_bcHandler  n_bcHandler,
t_physics  n_physics 
)
inline

Definition at line 50 of file EulerP_Evaluator.hpp.

Member Data Documentation

◆ bcHandler

Device view of the boundary condition handler.

Definition at line 45 of file EulerP_Evaluator.hpp.

◆ fv

Device view of the finite volume / VFV reconstruction object.

Definition at line 43 of file EulerP_Evaluator.hpp.

◆ physics

Device view of the gas physics model.

Definition at line 47 of file EulerP_Evaluator.hpp.


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