OPALX (Object Oriented Parallel Accelerator Library for Exascale) MINIorX
OPALX
ippl::detail::ReflectiveBC< T, Dim, ViewType > Struct Template Reference

#include <ParticleBC.h>

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

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. More...
 
size_t dim_m
 The dimension along which this boundary condition. More...
 
double minval_m
 Minimum and maximum coordinates of the domain along the given dimension. More...
 
double maxval_m
 
bool isUpper_m
 Whether the boundary conditions are being applied for an upper. More...
 
double extent_m
 The length of the domain along the given dimension. More...
 
double middle_m
 The coordinate of the midpoint of the domain along the given dimension. More...
 

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.

◆ ~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 ippl::detail::ParticleBC< T, Dim, ViewType >::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()(), and ippl::detail::SinkBC< T, Dim, ViewType >::operator()().

◆ maxval_m

◆ 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 ippl::detail::ParticleBC< T, Dim, ViewType >::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 ippl::detail::ParticleBC< T, Dim, ViewType >::ParticleBC().

◆ view_m


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