IPPL (Independent Parallel Particle Layer)
IPPL
Loading...
Searching...
No Matches
ippl::detail::ReflectiveBC< T, Dim, ViewType > Struct Template Reference

#include <ParticleBC.h>

Inheritance diagram for ippl::detail::ReflectiveBC< T, Dim, ViewType >:
Collaboration diagram for ippl::detail::ReflectiveBC< T, Dim, ViewType >:

Public Types

using value_type = typename ParticleBC<T, Dim, ViewType>::value_type

Public Member Functions

KOKKOS_DEFAULTED_FUNCTION ReflectiveBC ()=default
KOKKOS_INLINE_FUNCTION ReflectiveBC (const ViewType &view, const NDRegion< T, Dim > &nr, const unsigned &dim, const bool &isUpper)
KOKKOS_INLINE_FUNCTION void operator() (const size_t &i) const
KOKKOS_DEFAULTED_FUNCTION ~ReflectiveBC ()=default

Public Attributes

ViewType view_m
 Kokkos view containing the field data.
size_t dim_m
 The dimension along which this boundary condition.
double minval_m
 Minimum and maximum coordinates of the domain along the given dimension.
double maxval_m
bool isUpper_m
 Whether the boundary conditions are being applied for an upper.
double extent_m
 The length of the domain along the given dimension.
double middle_m
 The coordinate of the midpoint of the domain along the given dimension.

Detailed Description

template<typename T, unsigned Dim, class ViewType>
struct ippl::detail::ReflectiveBC< T, Dim, ViewType >

Definition at line 83 of file ParticleBC.h.

Member Typedef Documentation

◆ value_type

template<typename T, unsigned Dim, class ViewType>
using ippl::detail::ReflectiveBC< T, Dim, ViewType >::value_type = typename ParticleBC<T, Dim, ViewType>::value_type

Definition at line 84 of file ParticleBC.h.

Constructor & Destructor Documentation

◆ ReflectiveBC() [1/2]

template<typename T, unsigned Dim, class ViewType>
KOKKOS_DEFAULTED_FUNCTION ippl::detail::ReflectiveBC< T, Dim, ViewType >::ReflectiveBC ( )
default

◆ ReflectiveBC() [2/2]

template<typename T, unsigned Dim, class ViewType>
KOKKOS_INLINE_FUNCTION ippl::detail::ReflectiveBC< T, Dim, ViewType >::ReflectiveBC ( const ViewType & view,
const NDRegion< T, Dim > & nr,
const unsigned & dim,
const bool & isUpper )
inline

Definition at line 93 of file ParticleBC.h.

References Dim, ippl::detail::isUpper(), and ippl::detail::ParticleBC< T, Dim, ViewType >::ParticleBC().

Here is the call graph for this function:

◆ ~ReflectiveBC()

template<typename T, unsigned Dim, class ViewType>
KOKKOS_DEFAULTED_FUNCTION ippl::detail::ReflectiveBC< T, Dim, ViewType >::~ReflectiveBC ( )
default

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ dim_m

template<typename T, unsigned Dim, class ViewType>
size_t ippl::detail::ParticleBC< T, Dim, ViewType >::dim_m
inherited

◆ extent_m

template<typename T, unsigned Dim, class ViewType>
double ippl::detail::ParticleBC< T, Dim, ViewType >::extent_m
inherited

The length of the domain along the given dimension.

Definition at line 37 of file ParticleBC.h.

Referenced by ippl::detail::PeriodicBC< T, Dim, ViewType >::operator()(), and ParticleBC().

◆ isUpper_m

template<typename T, unsigned Dim, class ViewType>
bool ippl::detail::ParticleBC< T, Dim, ViewType >::isUpper_m
inherited

Whether the boundary conditions are being applied for an upper.

Definition at line 34 of file ParticleBC.h.

Referenced by ippl::detail::ReflectiveBC< T, Dim, ViewType >::operator()(), ippl::detail::SinkBC< T, Dim, ViewType >::operator()(), and ParticleBC().

◆ maxval_m

template<typename T, unsigned Dim, class ViewType>
double ippl::detail::ParticleBC< T, Dim, ViewType >::maxval_m
inherited

◆ middle_m

template<typename T, unsigned Dim, class ViewType>
double ippl::detail::ParticleBC< T, Dim, ViewType >::middle_m
inherited

The coordinate of the midpoint of the domain along the given dimension.

Definition at line 39 of file ParticleBC.h.

Referenced by ippl::detail::PeriodicBC< T, Dim, ViewType >::operator()(), and ParticleBC().

◆ minval_m

template<typename T, unsigned Dim, class ViewType>
double ippl::detail::ParticleBC< T, Dim, ViewType >::minval_m
inherited

Minimum and maximum coordinates of the domain along the given dimension.

Definition at line 30 of file ParticleBC.h.

Referenced by ippl::detail::ReflectiveBC< T, Dim, ViewType >::operator()(), ippl::detail::SinkBC< T, Dim, ViewType >::operator()(), and ParticleBC().

◆ view_m


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