OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
Public Types | Public Member Functions | Private Attributes | List of all members
ParticleBConds< T, Dim > Class Template Reference

#include <ParticleBConds.h>

Public Types

typedef T(* ParticleBCond) (const T, const T, const T)
 

Public Member Functions

 ParticleBConds ()
 
ParticleBConds< T, Dim > & operator= (const ParticleBConds< T, Dim > &pbc)
 
ParticleBCondoperator[] (unsigned d)
 
apply (const T t, const unsigned d, const NDRegion< T, Dim > &nr) const
 
apply (const T t, const unsigned d, const NDIndex< Dim > &ni) const
 
apply (const T t, const unsigned d, const T m1, const T m2) const
 

Private Attributes

ParticleBCond BCList [2 *Dim]
 

Detailed Description

template<class T, unsigned Dim>
class ParticleBConds< T, Dim >

Definition at line 73 of file ParticleBConds.h.

Member Typedef Documentation

◆ ParticleBCond

template<class T , unsigned Dim>
typedef T(* ParticleBConds< T, Dim >::ParticleBCond) (const T, const T, const T)

Definition at line 77 of file ParticleBConds.h.

Constructor & Destructor Documentation

◆ ParticleBConds()

template<class T , unsigned Dim>
ParticleBConds< T, Dim >::ParticleBConds ( )
inline

Definition at line 82 of file ParticleBConds.h.

References ParticleBConds< T, Dim >::BCList, Dim, and ParticleNoBCond().

Here is the call graph for this function:

Member Function Documentation

◆ apply() [1/3]

template<class T , unsigned Dim>
T ParticleBConds< T, Dim >::apply ( const T  t,
const unsigned  d,
const NDIndex< Dim > &  ni 
) const
inline

Definition at line 107 of file ParticleBConds.h.

References ParticleBConds< T, Dim >::apply().

Here is the call graph for this function:

◆ apply() [2/3]

template<class T , unsigned Dim>
T ParticleBConds< T, Dim >::apply ( const T  t,
const unsigned  d,
const NDRegion< T, Dim > &  nr 
) const
inline

Definition at line 99 of file ParticleBConds.h.

References ParticleBConds< T, Dim >::apply(), max(), min(), and nr.

Referenced by ParticleBConds< T, Dim >::apply(), and ParticleLayout< T, Dim >::apply_bconds().

Here is the call graph for this function:

◆ apply() [3/3]

template<class T , unsigned Dim>
T ParticleBConds< T, Dim >::apply ( const T  t,
const unsigned  d,
const T  m1,
const T  m2 
) const
inline

Definition at line 113 of file ParticleBConds.h.

References ParticleBConds< T, Dim >::BCList.

◆ operator=()

template<class T , unsigned Dim>
ParticleBConds< T, Dim > & ParticleBConds< T, Dim >::operator= ( const ParticleBConds< T, Dim > &  pbc)
inline

Definition at line 88 of file ParticleBConds.h.

References ParticleBConds< T, Dim >::BCList, and Dim.

◆ operator[]()

template<class T , unsigned Dim>
ParticleBCond & ParticleBConds< T, Dim >::operator[] ( unsigned  d)
inline

Definition at line 95 of file ParticleBConds.h.

References ParticleBConds< T, Dim >::BCList.

Member Data Documentation

◆ BCList

template<class T , unsigned Dim>
ParticleBCond ParticleBConds< T, Dim >::BCList[2 *Dim]
private

The documentation for this class was generated from the following files: