OpenLB 1.7
|
Masked application of DYNAMICS::apply for use in kernel::call_operators. More...
#include <operator.hh>
Public Member Functions | |
MaskedCollision (ParametersOfOperatorD< T, DESCRIPTOR, DYNAMICS > ¶meters, bool *mask) any_platform | |
Constructor (commonly called on the host side) | |
bool | operator() (DeviceContext< T, DESCRIPTOR > &lattice, CellID iCell) __device__ |
Chainable call operator for use in kernel::call_operators. | |
bool | operator() (DeviceContext< T, DESCRIPTOR > &lattice, CellID iCell, CellStatistic< T > &statistic) __device__ |
Chainable call operator with statistics storage. | |
Masked application of DYNAMICS::apply for use in kernel::call_operators.
Definition at line 45 of file operator.hh.
|
inline |
Constructor (commonly called on the host side)
See e.g. getFusedCollisionO
Definition at line 62 of file operator.hh.
|
inline |
Chainable call operator for use in kernel::call_operators.
Returns true iff MaskedCollision applies to iCell, enabling easy chaining by a fold expression to yield a fused collision kernel.
Definition at line 72 of file operator.hh.
|
inline |
Chainable call operator with statistics storage.
Definition at line 81 of file operator.hh.