OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
olb::ContactDetection< T, PARTICLETYPE > Class Template Reference

#include <contactDetection.h>

+ Inheritance diagram for olb::ContactDetection< T, PARTICLETYPE >:
+ Collaboration diagram for olb::ContactDetection< T, PARTICLETYPE >:

Public Member Functions

 ContactDetection (ParticleSystem3D< T, PARTICLETYPE > &pSys)
 
 ContactDetection (ParticleSystem3D< T, PARTICLETYPE > &pSys, std::string name)
 
virtual void sort ()
 
virtual int getMatches (int pInt, std::vector< std::pair< size_t, T > > &matches)
 
virtual ~ContactDetection ()
 
virtual ContactDetection< T, PARTICLETYPE > * generate (ParticleSystem3D< T, PARTICLETYPE > &pSys)
 
std::string getName ()
 

Protected Attributes

ParticleSystem3D< T, PARTICLETYPE > & _pSys
 
std::string _name
 

Detailed Description

template<typename T, template< typename U > class PARTICLETYPE>
class olb::ContactDetection< T, PARTICLETYPE >

Definition at line 39 of file contactDetection.h.

Constructor & Destructor Documentation

◆ ContactDetection() [1/2]

template<typename T , template< typename U > class PARTICLETYPE>
olb::ContactDetection< T, PARTICLETYPE >::ContactDetection ( ParticleSystem3D< T, PARTICLETYPE > & pSys)
inline

Definition at line 41 of file contactDetection.h.

41: _pSys(pSys), _name("ContactDetection") {};
ParticleSystem3D< T, PARTICLETYPE > & _pSys

◆ ContactDetection() [2/2]

template<typename T , template< typename U > class PARTICLETYPE>
olb::ContactDetection< T, PARTICLETYPE >::ContactDetection ( ParticleSystem3D< T, PARTICLETYPE > & pSys,
std::string name )
inline

Definition at line 42 of file contactDetection.h.

42: _pSys(pSys), _name(name) {};

◆ ~ContactDetection()

template<typename T , template< typename U > class PARTICLETYPE>
virtual olb::ContactDetection< T, PARTICLETYPE >::~ContactDetection ( )
inlinevirtual

Definition at line 50 of file contactDetection.h.

50{};

Member Function Documentation

◆ generate()

template<typename T , template< typename U > class PARTICLETYPE>
virtual ContactDetection< T, PARTICLETYPE > * olb::ContactDetection< T, PARTICLETYPE >::generate ( ParticleSystem3D< T, PARTICLETYPE > & pSys)
inlinevirtual

Reimplemented in olb::NanoflannContact< T, PARTICLETYPE >.

Definition at line 51 of file contactDetection.h.

52 {
53 return this;
54 };

◆ getMatches()

template<typename T , template< typename U > class PARTICLETYPE>
virtual int olb::ContactDetection< T, PARTICLETYPE >::getMatches ( int pInt,
std::vector< std::pair< size_t, T > > & matches )
inlinevirtual

Reimplemented in olb::PLattice< T, PARTICLETYPE >, and olb::NanoflannContact< T, PARTICLETYPE >.

Definition at line 45 of file contactDetection.h.

46 {
47 return 0;
48 };

◆ getName()

template<typename T , template< typename U > class PARTICLETYPE>
std::string olb::ContactDetection< T, PARTICLETYPE >::getName ( )
inline

Definition at line 56 of file contactDetection.h.

57 {
58 return _name;
59 }

References olb::ContactDetection< T, PARTICLETYPE >::_name.

+ Here is the caller graph for this function:

◆ sort()

template<typename T , template< typename U > class PARTICLETYPE>
virtual void olb::ContactDetection< T, PARTICLETYPE >::sort ( )
inlinevirtual

Reimplemented in olb::PLattice< T, PARTICLETYPE >, and olb::NanoflannContact< T, PARTICLETYPE >.

Definition at line 44 of file contactDetection.h.

44{};

Member Data Documentation

◆ _name

template<typename T , template< typename U > class PARTICLETYPE>
std::string olb::ContactDetection< T, PARTICLETYPE >::_name
protected

Definition at line 63 of file contactDetection.h.

◆ _pSys

template<typename T , template< typename U > class PARTICLETYPE>
ParticleSystem3D<T, PARTICLETYPE>& olb::ContactDetection< T, PARTICLETYPE >::_pSys
protected

Definition at line 62 of file contactDetection.h.


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