OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
BoxCondition< T, Dim > Class Template Reference

#include <PairConditions.h>

Collaboration diagram for BoxCondition< T, Dim >:

Public Member Functions

 BoxCondition (T b[Dim])
template<class V>
bool operator() (const V &a, const V &b) const
getRange (unsigned d) const

Private Attributes

box [Dim]

Detailed Description

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

Definition at line 67 of file PairConditions.h.

Constructor & Destructor Documentation

◆ BoxCondition()

template<class T, unsigned Dim>
BoxCondition< T, Dim >::BoxCondition ( T b[Dim])
inline

Definition at line 70 of file PairConditions.h.

References box, and Dim.

Member Function Documentation

◆ getRange()

template<class T, unsigned Dim>
T BoxCondition< T, Dim >::getRange ( unsigned d) const
inline

Definition at line 85 of file PairConditions.h.

References box.

◆ operator()()

template<class T, unsigned Dim>
template<class V>
bool BoxCondition< T, Dim >::operator() ( const V & a,
const V & b ) const
inline

Definition at line 74 of file PairConditions.h.

References a, box, and Dim.

Member Data Documentation

◆ box

template<class T, unsigned Dim>
T BoxCondition< T, Dim >::box[Dim]
private

Definition at line 87 of file PairConditions.h.

Referenced by BoxCondition(), getRange(), and operator()().


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