SPH
Public Member Functions | Public Attributes | List of all members
NeighbourRecord Struct Reference

Holds information about a neighbour particles. More...

#include <NeighbourFinder.h>

Public Member Functions

bool operator!= (const NeighbourRecord &other) const
 
bool operator< (const NeighbourRecord &other) const
 Sort by the distance. More...
 

Public Attributes

Size index
 Index of particle in the storage. More...
 
Float distanceSqr
 Squared distance of the particle from the queried particle / position. More...
 

Detailed Description

Holds information about a neighbour particles.

Definition at line 18 of file NeighbourFinder.h.

Member Function Documentation

◆ operator!=()

bool NeighbourRecord::operator!= ( const NeighbourRecord other) const
inline

Definition at line 25 of file NeighbourFinder.h.

◆ operator<()

bool NeighbourRecord::operator< ( const NeighbourRecord other) const
inline

Sort by the distance.

Definition at line 30 of file NeighbourFinder.h.

Member Data Documentation

◆ distanceSqr

Float NeighbourRecord::distanceSqr

Squared distance of the particle from the queried particle / position.

Definition at line 23 of file NeighbourFinder.h.

◆ index

Size NeighbourRecord::index

Index of particle in the storage.

Definition at line 20 of file NeighbourFinder.h.


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