OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::gpu::cuda::first_tuple_element_non_zero Struct Reference

#include <integral.hh>

+ Collaboration diagram for olb::gpu::cuda::first_tuple_element_non_zero:

Public Member Functions

template<typename TUPLE >
bool operator() (const TUPLE &t) __host__ __device__
 

Detailed Description

Definition at line 93 of file integral.hh.

Member Function Documentation

◆ operator()()

template<typename TUPLE >
bool olb::gpu::cuda::first_tuple_element_non_zero::operator() ( const TUPLE & t)
inline

Definition at line 95 of file integral.hh.

95 {
96 return thrust::get<0>(t) != 0;
97 }

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