ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
Observables::TotalForce Class Reference

#include <TotalForce.hpp>

+ Inheritance diagram for Observables::TotalForce:
+ Collaboration diagram for Observables::TotalForce:

Public Member Functions

std::vector< std::size_t > shape () const override
 
std::vector< double > evaluate (boost::mpi::communicator const &comm, ParticleReferenceRange const &local_particles, const ParticleObservables::traits< Particle > &) const override
 
 PidObservable (std::vector< int > ids)
 
- Public Member Functions inherited from Observables::PidObservable
 PidObservable (std::vector< int > ids)
 
std::vector< double > operator() (boost::mpi::communicator const &comm) const final
 
std::vector< int > const & ids () const
 
- Public Member Functions inherited from Observables::Observable
 Observable ()=default
 
virtual ~Observable ()=default
 
std::size_t n_values () const
 Size of the flat array returned by the observable.
 

Detailed Description

Definition at line 30 of file TotalForce.hpp.

Member Function Documentation

◆ evaluate()

std::vector< double > Observables::TotalForce::evaluate ( boost::mpi::communicator const &  comm,
ParticleReferenceRange const &  local_particles,
const ParticleObservables::traits< Particle > &   
) const
inlineoverridevirtual

Implements Observables::PidObservable.

Definition at line 36 of file TotalForce.hpp.

◆ PidObservable()

Observables::PidObservable::PidObservable ( std::vector< int >  ids)
inlineexplicit

Definition at line 64 of file core/observables/PidObservable.hpp.

◆ shape()

std::vector< std::size_t > Observables::TotalForce::shape ( ) const
inlineoverridevirtual

Implements Observables::Observable.

Definition at line 33 of file TotalForce.hpp.


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