group_particles
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Callback< AFields >::PrtProperties Struct Reference

Specialization of the Callback::BaseProperties type to particles. More...

#include <callback.hpp>

Inheritance diagram for Callback< AFields >::PrtProperties:
Inheritance graph
[legend]

Public Member Functions

std::array< coord_t, 3 > coord (const coord_t *grp_coord) const
 Returns relative position of particle with respect to a group, respecting periodic boundary conditions.
 
- Public Member Functions inherited from Callback< AFields >::BaseProperties< AFields::ParticleFields >
auto coord () const
 
auto get () const
 Returns the individual properties.
 

Detailed Description

template<typename AFields>
struct Callback< AFields >::PrtProperties

Specialization of the Callback::BaseProperties type to particles.

Member Function Documentation

◆ coord()

template<typename AFields >
std::array< coord_t, 3 > Callback< AFields >::PrtProperties::coord ( const coord_t grp_coord) const
inline

Returns relative position of particle with respect to a group, respecting periodic boundary conditions.

Parameters
[in]grp_coordthe group's coordinates (3 coord_t values)
Returns
The relative position.

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