![]() |
OpenLB 1.8.1
|
Device-side implementation of the Cell concept for post processors. More...
#include <context.hh>
Inheritance diagram for olb::gpu::cuda::Cell< T, DESCRIPTOR >:
Collaboration diagram for olb::gpu::cuda::Cell< T, DESCRIPTOR >: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__ |
| std::size_t | getCellId () const __device__ |
| void | setCellId (std::size_t iCell) __device__ |
| void | setLatticeR (LatticeR< DESCRIPTOR::d > latticeR) __device__ |
| bool | isPadding () const __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__ | |
| void | setCellId (std::size_t 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 > | |
| auto | getFieldComponent (unsigned iD) const __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__ |
| DeviceBlockLattice< T, DESCRIPTOR > & | getBlock () const __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 313 of file context.hh.
|
inline |
Definition at line 324 of file context.hh.
|
inline |
Definition at line 369 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 358 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 352 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 361 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 364 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 355 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 382 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 385 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::operator[]().
Here is the call graph for this function:
|
inline |
Definition at line 373 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 379 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 376 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inlineprotected |
Definition at line 315 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data.
Here is the caller graph for this function:
|
inlineprotected |
Definition at line 319 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_data.
|
inline |
Definition at line 336 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
inline |
Definition at line 332 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::getField().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 391 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 394 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 397 of file context.hh.
References olb::gpu::cuda::Cell< T, DESCRIPTOR >::getDynamics().
Here is the call graph for this function:
|
inline |
Definition at line 348 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell, and olb::gpu::cuda::Cell< T, DESCRIPTOR >::getBlock().
Here is the call graph for this function:
|
inline |
Definition at line 328 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell, and olb::gpu::cuda::Cell< T, DESCRIPTOR >::getBlock().
Here is the call graph for this function:
|
inline |
Definition at line 340 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell.
|
inline |
Definition at line 344 of file context.hh.
References olb::gpu::cuda::DataOnlyCell< T, DESCRIPTOR >::_iCell, and olb::gpu::cuda::Cell< T, DESCRIPTOR >::getBlock().
Here is the call graph for this function: