Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::core::Neighbor Struct Reference

Represents a neighbor atom in a neighbor list. More...

#include <NeighborGraph.hpp>

Collaboration diagram for correlation::core::Neighbor:

Public Attributes

AtomID index {0}
 Index of the neighbor in the atom list.
real_t distance {0.0}
 Distance to the neighbor.
math::Vector3< real_t > r_ij
 Vector from central atom to neighbor.

Detailed Description

Represents a neighbor atom in a neighbor list.

Member Data Documentation

◆ distance

real_t correlation::core::Neighbor::distance {0.0}

Distance to the neighbor.

◆ index

AtomID correlation::core::Neighbor::index {0}

Index of the neighbor in the atom list.

◆ r_ij

math::Vector3<real_t> correlation::core::Neighbor::r_ij

Vector from central atom to neighbor.


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