OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::gpu::cuda::ListedPostProcessorWithParameters< T, DESCRIPTOR, OPERATOR > Class Template Reference

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

#include <operator.hh>

+ Collaboration diagram for olb::gpu::cuda::ListedPostProcessorWithParameters< T, DESCRIPTOR, OPERATOR >:

Public Member Functions

 ListedPostProcessorWithParameters (ParametersOfOperatorD< T, DESCRIPTOR, OPERATOR > &parameters) __host__
 
bool operator() (DeviceBlockLattice< T, DESCRIPTOR > &lattice, CellID iCell) __device__
 

Detailed Description

template<typename T, typename DESCRIPTOR, typename OPERATOR>
class olb::gpu::cuda::ListedPostProcessorWithParameters< T, DESCRIPTOR, OPERATOR >

List-based application of OPERATOR::apply with parameters.

Definition at line 158 of file operator.hh.

Constructor & Destructor Documentation

◆ ListedPostProcessorWithParameters()

template<typename T , typename DESCRIPTOR , typename OPERATOR >
olb::gpu::cuda::ListedPostProcessorWithParameters< T, DESCRIPTOR, OPERATOR >::ListedPostProcessorWithParameters ( ParametersOfOperatorD< T, DESCRIPTOR, OPERATOR > & parameters)
inline

Definition at line 163 of file operator.hh.

163 :
164 _parameters{parameters}
165 { }

Member Function Documentation

◆ operator()()

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

Definition at line 167 of file operator.hh.

167 {
168 Cell<T,DESCRIPTOR> cell(lattice, iCell);
169 OPERATOR().apply(cell, _parameters);
170 return true;
171 }

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