OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::ParticleSystem3D< T, PARTICLETYPE >::getMinDistPart Struct Reference

Sorts the vector of neighbor Particles by increasing distance. More...

#include <particleSystem3D.h>

+ Collaboration diagram for olb::ParticleSystem3D< T, PARTICLETYPE >::getMinDistPart:

Public Member Functions

bool operator() (std::pair< size_t, T > i, std::pair< size_t, T > j)
 

Detailed Description

template<typename T, template< typename U > class PARTICLETYPE>
struct olb::ParticleSystem3D< T, PARTICLETYPE >::getMinDistPart

Sorts the vector of neighbor Particles by increasing distance.

Definition at line 164 of file particleSystem3D.h.

Member Function Documentation

◆ operator()()

template<typename T , template< typename U > class PARTICLETYPE>
bool olb::ParticleSystem3D< T, PARTICLETYPE >::getMinDistPart::operator() ( std::pair< size_t, T > i,
std::pair< size_t, T > j )
inline

Definition at line 165 of file particleSystem3D.h.

166 {
167 return (i.second < j.second);
168 }

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