IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::detail::CapturedExpression< E, N > Struct Template Reference

#include <IpplExpressions.h>

Collaboration diagram for ippl::detail::CapturedExpression< E, N >:

Public Member Functions

template<typename... Args>
KOKKOS_INLINE_FUNCTION auto operator() (Args... args) const

Public Attributes

char buffer [N]

Static Public Attributes

static constexpr unsigned dim = E::dim

Detailed Description

template<typename E, size_t N = sizeof(E)>
struct ippl::detail::CapturedExpression< E, N >

This expression is only used to allocate enough memory for the kernel on the device. It is instantiated in the assignment operator of the BareField class.

Definition at line 44 of file IpplExpressions.h.

Member Function Documentation

◆ operator()()

template<typename E, size_t N = sizeof(E)>
template<typename... Args>
KOKKOS_INLINE_FUNCTION auto ippl::detail::CapturedExpression< E, N >::operator() ( Args... args) const
inline

Definition at line 48 of file IpplExpressions.h.

References dim.

Member Data Documentation

◆ buffer

template<typename E, size_t N = sizeof(E)>
char ippl::detail::CapturedExpression< E, N >::buffer[N]

Definition at line 53 of file IpplExpressions.h.

◆ dim

template<typename E, size_t N = sizeof(E)>
unsigned ippl::detail::CapturedExpression< E, N >::dim = E::dim
staticconstexpr

Definition at line 45 of file IpplExpressions.h.

Referenced by operator()().


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