IPPL API Reference
Independent Parallel Particle Layer C++ API
Loading...
Searching...
No Matches
ippl::detail::Expression< E, N > Struct Template Reference

#include <IpplExpressions.h>

+ Inheritance diagram for ippl::detail::Expression< E, N >:

Public Member Functions

KOKKOS_INLINE_FUNCTION auto operator[] (size_t i) const
 

Static Public Attributes

static constexpr unsigned dim = E::dim
 

Detailed Description

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

Basic expression class for BareField, Vector and Scalar. Expression classes need to inherit from this with the CRTP (curiously recursive template pattern) design pattern.

Member Function Documentation

◆ operator[]()

template<typename E , size_t N = sizeof(E)>
KOKKOS_INLINE_FUNCTION auto ippl::detail::Expression< E, N >::operator[] ( size_t  i) const
inline

Access single element of the expression


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