votca 2024-dev
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
votca::csg::NBList::FunctorNonMember Class Reference

Functor for non-member functions. More...

#include <nblist.h>

Inheritance diagram for votca::csg::NBList::FunctorNonMember:
Inheritance graph
[legend]
Collaboration diagram for votca::csg::NBList::FunctorNonMember:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 FunctorNonMember (fkt_t fkt)
 
bool operator() (Bead *b1, Bead *b2, const Eigen::Vector3d &r, double dist) override
 
- Public Member Functions inherited from votca::csg::NBList::Functor
 Functor ()=default
 
virtual bool operator() (Bead *, Bead *, const Eigen::Vector3d &, const double dist)=0
 
virtual ~Functor ()=default
 

Private Attributes

fkt_t fkt_
 

Detailed Description

Functor for non-member functions.

Definition at line 136 of file nblist.h.

Member Typedef Documentation

◆ fkt_t

using votca::csg::NBList::FunctorNonMember::fkt_t = bool (*)(Bead *, Bead *, const Eigen::Vector3d &, double)

Definition at line 138 of file nblist.h.

Constructor & Destructor Documentation

◆ FunctorNonMember()

votca::csg::NBList::FunctorNonMember::FunctorNonMember ( fkt_t  fkt)
inline

Definition at line 139 of file nblist.h.

Member Function Documentation

◆ operator()()

bool votca::csg::NBList::FunctorNonMember::operator() ( Bead b1,
Bead b2,
const Eigen::Vector3d &  r,
double  dist 
)
inlineoverridevirtual

Implements votca::csg::NBList::Functor.

Definition at line 141 of file nblist.h.

Member Data Documentation

◆ fkt_

fkt_t votca::csg::NBList::FunctorNonMember::fkt_
private

Definition at line 147 of file nblist.h.


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