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

#include <PairConditions.h>

Public Member Functions

 RadiusCondition (T r)
 
template<class V >
bool operator() (const V &a, const V &b) const
 
template<class V , class Vec >
bool operator() (const V &a, const V &b, const Vec &) const
 
getRange (unsigned) const
 

Private Attributes

sqradius
 
radius
 

Detailed Description

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

Definition at line 23 of file PairConditions.h.

Constructor & Destructor Documentation

◆ RadiusCondition()

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

Definition at line 26 of file PairConditions.h.

Member Function Documentation

◆ getRange()

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

Definition at line 61 of file PairConditions.h.

References RadiusCondition< T, Dim >::radius.

◆ operator()() [1/2]

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

◆ operator()() [2/2]

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

Member Data Documentation

◆ radius

template<class T , unsigned Dim>
T RadiusCondition< T, Dim >::radius
private

Definition at line 63 of file PairConditions.h.

Referenced by RadiusCondition< T, Dim >::getRange().

◆ sqradius

template<class T , unsigned Dim>
T RadiusCondition< T, Dim >::sqradius
private

Definition at line 63 of file PairConditions.h.

Referenced by RadiusCondition< T, Dim >::operator()().


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