OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::gpu::cuda::ListedPostProcessor< OPERATOR > Struct Template Reference

List-based application of OPERATOR::apply. More...

#include <operator.hh>

+ Collaboration diagram for olb::gpu::cuda::ListedPostProcessor< OPERATOR >:

Public Member Functions

template<typename T , typename DESCRIPTOR >
bool operator() (DeviceBlockLattice< T, DESCRIPTOR > &lattice, CellID iCell) __device__
 

Detailed Description

template<typename OPERATOR>
struct olb::gpu::cuda::ListedPostProcessor< OPERATOR >

List-based application of OPERATOR::apply.

Most common approach to calling post processors on device data

Definition at line 146 of file operator.hh.

Member Function Documentation

◆ operator()()

template<typename OPERATOR >
template<typename T , typename DESCRIPTOR >
bool olb::gpu::cuda::ListedPostProcessor< OPERATOR >::operator() ( DeviceBlockLattice< T, DESCRIPTOR > & lattice,
CellID iCell )
inline

Definition at line 148 of file operator.hh.

148 {
149 Cell<T,DESCRIPTOR> cell(lattice, iCell);
150 OPERATOR().apply(cell);
151 return true;
152 }

The documentation for this struct was generated from the following file: