ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ParticleObservables::WeightedSum< ValueOp, WeightOp > Struct Template Reference

#include <algorithms.hpp>

Public Member Functions

template<class ParticleRange>
auto operator() (ParticleRange const &particles) const
template<typename T>
auto operator() (T const &acc, T const &val) const

Detailed Description

template<class ValueOp, class WeightOp>
struct ParticleObservables::WeightedSum< ValueOp, WeightOp >

Definition at line 59 of file algorithms.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<class ValueOp, class WeightOp>
template<class ParticleRange>
auto ParticleObservables::WeightedSum< ValueOp, WeightOp >::operator() ( ParticleRange const & particles) const
inline

Definition at line 61 of file algorithms.hpp.

◆ operator()() [2/2]

template<class ValueOp, class WeightOp>
template<typename T>
auto ParticleObservables::WeightedSum< ValueOp, WeightOp >::operator() ( T const & acc,
T const & val ) const
inline

Definition at line 67 of file algorithms.hpp.


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