OpenLB 1.7
|
Device-side view of a block lattice. More...
#include <context.hh>
Public Member Functions | |
DeviceBlockLattice (ConcreteBlockLattice< T, DESCRIPTOR, Platform::GPU_CUDA > &lattice) __host__ | |
CellID | getCellId (LatticeR< DESCRIPTOR::d > loc) const __device__ |
CellDistance | getNeighborDistance (LatticeR< DESCRIPTOR::d > dir) const __device__ |
Cell< T, DESCRIPTOR > | get (CellID iCell) __device__ |
Cell< T, DESCRIPTOR > | get (LatticeR< DESCRIPTOR::d > loc) __device__ |
Public Member Functions inherited from olb::gpu::cuda::DeviceContext< T, DESCRIPTOR > | |
DeviceContext (ConcreteBlockLattice< T, DESCRIPTOR, Platform::GPU_CUDA > &lattice) __host__ | |
std::size_t | getNcells () const any_platform |
template<typename FIELD > | |
FIELD::template value_type< T > ** | getField () __device__ |
Additional Inherited Members | |
Public Types inherited from olb::gpu::cuda::DeviceContext< T, DESCRIPTOR > | |
using | value_t = T |
using | descriptor_t = DESCRIPTOR |
Device-side view of a block lattice.
Used for non-local operators such as post processors
Definition at line 207 of file context.hh.
|
inline |
Definition at line 213 of file context.hh.
|
inline |
Definition at line 233 of file context.hh.
|
inline |
Definition at line 237 of file context.hh.
References olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >::get(), and olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >::getCellId().
|
inline |
Definition at line 225 of file context.hh.
|
inline |
Definition at line 229 of file context.hh.