OpenLB 1.7
|
Device-side implementation of the Cell concept for post processors. More...
#include <context.hh>
Public Member Functions | |
Cell (DeviceBlockLattice< T, DESCRIPTOR > &data, CellID iCell) __device__ | |
Cell< T, DESCRIPTOR > | neighbor (LatticeR< DESCRIPTOR::d > offset) __device__ |
Dynamics< T, DESCRIPTOR > & | getDynamics () __device__ |
T | computeRho () __device__ |
void | computeU (T *u) __device__ |
void | computeJ (T *j) __device__ |
void | computeRhoU (T &rho, T *u) __device__ |
void | computeStress (T *pi) __device__ |
void | computeAllMomenta (T &rho, T *u, T *pi) __device__ |
void | defineRho (T &rho) __device__ |
void | defineU (T *u) __device__ |
void | defineRhoU (T &rho, T *u) __device__ |
void | defineAllMomenta (T &rho, T *u, T *pi) __device__ |
void | definePopulations (const T *f) __device__ |
void | iniEquilibrium (T rho, T *u) __device__ |
void | iniRegularized (T rho, T *u, T *pi) __device__ |
void | inverseShiftRhoU (T &rho, T *u) __device__ |
Public Member Functions inherited from olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR > | |
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 Member Functions | |
DeviceBlockLattice< T, DESCRIPTOR > & | getBlock () __device__ |
Additional Inherited Members | |
Public Types inherited from olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR > | |
using | value_t = T |
using | descriptor_t = DESCRIPTOR |
Protected Attributes inherited from olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR > | |
DeviceContext< T, DESCRIPTOR > & | _data |
CellID | _iCell |
Device-side implementation of the Cell concept for post processors.
Adds neighborhood and dynamically-dispatched momenta access to DataOnlyCell
Definition at line 248 of file context.hh.
|
inline |
Definition at line 255 of file context.hh.
|
inline |
Definition at line 284 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 273 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 267 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 276 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 279 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 270 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 297 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 300 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::operator[]().
|
inline |
Definition at line 288 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 294 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 291 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inlineprotected |
Definition at line 250 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data.
|
inline |
Definition at line 263 of file context.hh.
|
inline |
Definition at line 306 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 309 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 312 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
|
inline |
Definition at line 259 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell, and olb::gpu::cuda::Cell< T, DESCRIPTOR >::getBlock().