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

Unrestricted application of COUPLING::apply. More...

#include <operator.hh>

+ Collaboration diagram for olb::gpu::cuda::UnmaskedCoupling< COUPLER >:

Public Member Functions

template<typename CONTEXT >
bool operator() (CONTEXT &lattices, CellID iCell) __device__
 

Detailed Description

template<typename COUPLER>
struct olb::gpu::cuda::UnmaskedCoupling< COUPLER >

Unrestricted application of COUPLING::apply.

Definition at line 177 of file operator.hh.

Member Function Documentation

◆ operator()()

template<typename COUPLER >
template<typename CONTEXT >
bool olb::gpu::cuda::UnmaskedCoupling< COUPLER >::operator() ( CONTEXT & lattices,
CellID iCell )
inline

Definition at line 179 of file operator.hh.

180 {
181 auto cells = lattices.exchange_values([&](auto name) -> auto {
182 return Cell{lattices.get(name), iCell};
183 });
184 COUPLER().apply(cells);
185 return true;
186 }

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