votca 2024-dev
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
votca::csg::NBList_3Body::FunctorMember< T > Class Template Reference

Functor for member functions. More...

#include <nblist_3body.h>

Inheritance diagram for votca::csg::NBList_3Body::FunctorMember< T >:
Inheritance graph
[legend]
Collaboration diagram for votca::csg::NBList_3Body::FunctorMember< T >:
Collaboration graph
[legend]

Public Types

using fkt_t = bool(T::*)(Bead *, Bead *, Bead *, const Eigen::Vector3d &, const Eigen::Vector3d &, const Eigen::Vector3d &, const double, const double, const double)
 

Public Member Functions

 FunctorMember (T *cls, fkt_t fkt)
 
bool operator() (Bead *b1, Bead *b2, Bead *b3, const Eigen::Vector3d &r12, const Eigen::Vector3d &r13, const Eigen::Vector3d &r23, const double dist12, const double dist13, const double dist23) override
 
- Public Member Functions inherited from votca::csg::NBList_3Body::Functor
 Functor ()=default
 
virtual bool operator() (Bead *, Bead *, Bead *, const Eigen::Vector3d &, const Eigen::Vector3d &, const Eigen::Vector3d &, const double dist12, const double dist13, const double dist23)=0
 
virtual ~Functor ()=default
 

Private Attributes

T * cls_
 
fkt_t fkt_
 

Detailed Description

template<typename T>
class votca::csg::NBList_3Body::FunctorMember< T >

Functor for member functions.

Definition at line 148 of file nblist_3body.h.

Member Typedef Documentation

◆ fkt_t

template<typename T >
using votca::csg::NBList_3Body::FunctorMember< T >::fkt_t = bool (T::*)(Bead *, Bead *, Bead *, const Eigen::Vector3d &, const Eigen::Vector3d &, const Eigen::Vector3d &, const double, const double, const double)

Definition at line 150 of file nblist_3body.h.

Constructor & Destructor Documentation

◆ FunctorMember()

template<typename T >
votca::csg::NBList_3Body::FunctorMember< T >::FunctorMember ( T *  cls,
fkt_t  fkt 
)
inline

Definition at line 154 of file nblist_3body.h.

Member Function Documentation

◆ operator()()

template<typename T >
bool votca::csg::NBList_3Body::FunctorMember< T >::operator() ( Bead b1,
Bead b2,
Bead b3,
const Eigen::Vector3d &  r12,
const Eigen::Vector3d &  r13,
const Eigen::Vector3d &  r23,
const double  dist12,
const double  dist13,
const double  dist23 
)
inlineoverridevirtual

Implements votca::csg::NBList_3Body::Functor.

Definition at line 156 of file nblist_3body.h.

Member Data Documentation

◆ cls_

template<typename T >
T* votca::csg::NBList_3Body::FunctorMember< T >::cls_
private

Definition at line 164 of file nblist_3body.h.

◆ fkt_

template<typename T >
fkt_t votca::csg::NBList_3Body::FunctorMember< T >::fkt_
private

Definition at line 165 of file nblist_3body.h.


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