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

#include <LaplaceHelpers.h>

Inheritance diagram for ippl::detail::meta_upper_laplace< E >:
Collaboration diagram for ippl::detail::meta_upper_laplace< E >:

Public Types

using value_type = typename E::value_type

Public Member Functions

KOKKOS_FUNCTION meta_upper_laplace (const E &u, const typename E::Mesh_t::vector_type &hvector, unsigned nghosts, const typename E::Layout_t::NDIndex_t &ldom, const typename E::Layout_t::NDIndex_t &domain)
template<typename... Idx>
KOKKOS_INLINE_FUNCTION auto operator() (const Idx... args) const
KOKKOS_INLINE_FUNCTION auto operator[] (size_t i) const

Static Public Attributes

static constexpr unsigned dim = E::dim

Private Types

using Mesh_t = typename E::Mesh_t
using Layout_t = typename E::Layout_t
using vector_type = typename Mesh_t::vector_type
using domain_type = typename Layout_t::NDIndex_t

Private Attributes

const E u_m
const vector_type hvector_m
const unsigned nghosts_m
const domain_type ldom_m
const domain_type domain_m

Detailed Description

template<typename E>
struct ippl::detail::meta_upper_laplace< E >

Definition at line 104 of file LaplaceHelpers.h.

Member Typedef Documentation

◆ domain_type

template<typename E>
using ippl::detail::meta_upper_laplace< E >::domain_type = typename Layout_t::NDIndex_t
private

Definition at line 156 of file LaplaceHelpers.h.

◆ Layout_t

template<typename E>
using ippl::detail::meta_upper_laplace< E >::Layout_t = typename E::Layout_t
private

Definition at line 154 of file LaplaceHelpers.h.

◆ Mesh_t

template<typename E>
using ippl::detail::meta_upper_laplace< E >::Mesh_t = typename E::Mesh_t
private

Definition at line 153 of file LaplaceHelpers.h.

◆ value_type

template<typename E>
using ippl::detail::meta_upper_laplace< E >::value_type = typename E::value_type

Definition at line 110 of file LaplaceHelpers.h.

◆ vector_type

template<typename E>
using ippl::detail::meta_upper_laplace< E >::vector_type = typename Mesh_t::vector_type
private

Definition at line 155 of file LaplaceHelpers.h.

Constructor & Destructor Documentation

◆ meta_upper_laplace()

template<typename E>
KOKKOS_FUNCTION ippl::detail::meta_upper_laplace< E >::meta_upper_laplace ( const E & u,
const typename E::Mesh_t::vector_type & hvector,
unsigned nghosts,
const typename E::Layout_t::NDIndex_t & ldom,
const typename E::Layout_t::NDIndex_t & domain )
inline

Definition at line 113 of file LaplaceHelpers.h.

References domain_m, hvector_m, ldom_m, nghosts_m, and u_m.

Member Function Documentation

◆ operator()()

template<typename E>
template<typename... Idx>
KOKKOS_INLINE_FUNCTION auto ippl::detail::meta_upper_laplace< E >::operator() ( const Idx... args) const
inline

Definition at line 126 of file LaplaceHelpers.h.

References ippl::apply(), dim, domain_m, hvector_m, ldom_m, nghosts_m, and u_m.

Here is the call graph for this function:

◆ operator[]()

KOKKOS_INLINE_FUNCTION auto ippl::detail::Expression< E, N >::operator[] ( size_t i) const
inlineinherited

Access single element of the expression

Definition at line 32 of file IpplExpressions.h.

Member Data Documentation

◆ dim

template<typename E>
unsigned ippl::detail::meta_upper_laplace< E >::dim = E::dim
staticconstexpr

Definition at line 109 of file LaplaceHelpers.h.

Referenced by operator()().

◆ domain_m

template<typename E>
const domain_type ippl::detail::meta_upper_laplace< E >::domain_m
private

Definition at line 161 of file LaplaceHelpers.h.

Referenced by meta_upper_laplace(), and operator()().

◆ hvector_m

template<typename E>
const vector_type ippl::detail::meta_upper_laplace< E >::hvector_m
private

Definition at line 158 of file LaplaceHelpers.h.

Referenced by meta_upper_laplace(), and operator()().

◆ ldom_m

template<typename E>
const domain_type ippl::detail::meta_upper_laplace< E >::ldom_m
private

Definition at line 160 of file LaplaceHelpers.h.

Referenced by meta_upper_laplace(), and operator()().

◆ nghosts_m

template<typename E>
const unsigned ippl::detail::meta_upper_laplace< E >::nghosts_m
private

Definition at line 159 of file LaplaceHelpers.h.

Referenced by meta_upper_laplace(), and operator()().

◆ u_m

template<typename E>
const E ippl::detail::meta_upper_laplace< E >::u_m
private

Definition at line 157 of file LaplaceHelpers.h.

Referenced by meta_upper_laplace(), and operator()().


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