ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Calculate bond angles between particles in a polymer. More...
#include <BondAngles.hpp>
Public Member Functions | |
BondAngles (std::vector< int > ids) | |
std::vector< double > | evaluate (boost::mpi::communicator const &comm, ParticleReferenceRange const &local_particles, const ParticleObservables::traits< Particle > &traits) const override |
std::vector< std::size_t > | shape () 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. | |
Calculate bond angles between particles in a polymer.
For \( n \) bonded particles, return the \( n-2 \) angles along the chain, in radians.
Definition at line 42 of file BondAngles.hpp.
|
inlineexplicit |
Definition at line 45 of file BondAngles.hpp.
References Observables::PidObservable::ids().
|
inlineoverridevirtual |
Implements Observables::PidObservable.
Definition at line 51 of file BondAngles.hpp.
References System::System::box_geo, System::get_system(), Observables::PidObservable::ids(), Observables::Observable::n_values(), and TINY_COS_VALUE.
|
inlineexplicit |
Definition at line 64 of file core/observables/PidObservable.hpp.
|
inlineoverridevirtual |
Implements Observables::Observable.
Definition at line 82 of file BondAngles.hpp.
References Observables::PidObservable::ids().