ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
GatherParticleTraits< T > Struct Template Referenceabstract

Gather particle properties (or any derived quantities) on MPI rank 0. More...

Public Member Functions

virtual T kernel (Particle const &) const =0
 
void fetch (CellStructure const &cell_structure, int pid)
 
auto join ()
 

Detailed Description

template<typename T>
struct GatherParticleTraits< T >

Gather particle properties (or any derived quantities) on MPI rank 0.

The data is collected into an unordered map.

Definition at line 50 of file statistics_chain.cpp.

Member Function Documentation

◆ fetch()

template<typename T >
void GatherParticleTraits< T >::fetch ( CellStructure const &  cell_structure,
int  pid 
)
inline

◆ join()

template<typename T >
auto GatherParticleTraits< T >::join ( )
inline

Definition at line 66 of file statistics_chain.cpp.

References comm_cart, and Utils::Mpi::gather_buffer().

◆ kernel()

template<typename T >
virtual T GatherParticleTraits< T >::kernel ( Particle const &  ) const
pure virtual

Implemented in GatherPos, GatherCom, and GatherMass.

Referenced by GatherParticleTraits< T >::fetch().


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