votca 2024.2-dev
Loading...
Searching...
No Matches
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 >:
Collaboration diagram for votca::csg::NBList_3Body::FunctorMember< T >:

Public Types

using fkt_t
 

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 ~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
Initial value:
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: