![]() |
OpenLB 1.8.1
|
Device-side view of a block lattice. More...
#include <context.hh>
Inheritance diagram for olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >:
Collaboration diagram for olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >: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__ |
| LatticeR< DESCRIPTOR::d > | getLatticeR (CellID iCell) const __device__ |
| bool | isInside (LatticeR< DESCRIPTOR::d > loc) const __device__ |
| bool | isPadding (LatticeR< DESCRIPTOR::d > loc) const __device__ |
| bool | isPadding (CellID iCell) const __device__ |
Public Member Functions inherited from olb::gpu::cuda::DeviceContext< T, DESCRIPTOR > | |
| template<concepts::ConcreteFieldsContainer CONTAINER> | |
| DeviceContext (CONTAINER &lattice) __host__ | |
| DeviceContext (ConcreteBlockD< 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 244 of file context.hh.
|
inline |
Definition at line 251 of file context.hh.
|
inline |
Definition at line 272 of file context.hh.
Here is the caller graph for this function:
|
inline |
Definition at line 276 of file context.hh.
References olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >::get(), and olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >::getCellId().
Here is the call graph for this function:
|
inline |
Definition at line 264 of file context.hh.
Here is the caller graph for this function:
|
inline |
Definition at line 280 of file context.hh.
Here is the caller graph for this function:
|
inline |
Definition at line 268 of file context.hh.
|
inline |
Definition at line 294 of file context.hh.
Here is the caller graph for this function:
|
inline |
Definition at line 302 of file context.hh.
References olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >::getLatticeR(), and olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >::isPadding().
Here is the call graph for this function:
|
inline |
Definition at line 298 of file context.hh.
References olb::gpu::cuda::DeviceBlockLattice< T, DESCRIPTOR >::isInside().
Here is the call graph for this function:
Here is the caller graph for this function: