ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ParticleObservables::WeightedAverage< 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::WeightedAverage< ValueOp, WeightOp >

Definition at line 84 of file algorithms.hpp.

Member Function Documentation

◆ operator()() [1/2]

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

Definition at line 86 of file algorithms.hpp.

◆ operator()() [2/2]

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

Definition at line 92 of file algorithms.hpp.

References weight().


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