GraviDy  1.0
Gravitational Dynamics N-body integrator
Public Member Functions | Public Attributes | List of all members
Distance Struct Reference

Structure to handle the distance of the particles, to be able to identify them while sorted. More...

#include <common.hpp>

Public Member Functions

bool operator< (const Distance &a) const
 

Public Attributes

int index
 Member 'index' identification of the particle. More...
 
double value
 Member 'value' distance of the particle respect to a reference. More...
 

Detailed Description

Structure to handle the distance of the particles, to be able to identify them while sorted.

Member Function Documentation

§ operator<()

bool Distance::operator< ( const Distance a) const
inline

Member Data Documentation

§ index

Distance::index

Member 'index' identification of the particle.

§ value

Distance::value

Member 'value' distance of the particle respect to a reference.


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