OpenLB 1.7
|
Device-side implementation of the data-only Cell concept for collision steps. More...
#include <context.hh>
Public Types | |
using | value_t = T |
using | descriptor_t = DESCRIPTOR |
Public Member Functions | |
DataOnlyCell (DeviceContext< T, DESCRIPTOR > &data, CellID iCell) __device__ | |
template<typename FIELD > | |
FIELD::template value_type< T > | getFieldComponent (unsigned iD) __device__ |
value_t & | operator[] (int iPop) __device__ |
template<typename FIELD > | |
auto | getField () const __device__ |
template<typename FIELD > | |
FieldPtr< T, DESCRIPTOR, FIELD > | getFieldPointer () __device__ |
template<typename FIELD > | |
void | setField (FieldD< value_t, descriptor_t, FIELD > &&value) __device__ |
template<typename FIELD > | |
void | setField (const FieldD< value_t, descriptor_t, FIELD > &value) __device__ |
Protected Attributes | |
DeviceContext< T, DESCRIPTOR > & | _data |
CellID | _iCell |
Device-side implementation of the data-only Cell concept for collision steps.
Definition at line 140 of file context.hh.
using olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::descriptor_t = DESCRIPTOR |
Definition at line 147 of file context.hh.
using olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::value_t = T |
Definition at line 146 of file context.hh.
|
inline |
Definition at line 149 of file context.hh.
|
inline |
Definition at line 164 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data, and olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
inline |
Definition at line 155 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data, and olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
inline |
Definition at line 176 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data, and olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
inline |
Definition at line 159 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data, and olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
inline |
Definition at line 189 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data, and olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
inline |
Definition at line 181 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data, and olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
protected |
Definition at line 142 of file context.hh.
|
protected |
Definition at line 143 of file context.hh.