ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Template specialization for Particle
.
More...
#include <ParticleTraits.hpp>
Public Member Functions | |
auto | id (Particle const &p) const |
auto | position (Particle const &p) const |
auto | position_folded (Particle const &p) const |
auto | velocity (Particle const &p) const |
auto | force (Particle const &p) const |
auto | mass (Particle const &p) const |
auto | charge (Particle const &p) const |
auto | dipole_moment (Particle const &p) const |
auto | dipole_field (Particle const &p) const |
auto | velocity_body (Particle const &p) const |
auto | angular_velocity (Particle const &p) const |
auto | angular_velocity_body (Particle const &p) const |
auto | director (Particle const &p) const |
Template specialization for Particle
.
The traits mechanism is used to get indirect access to particle properties. This helps making the implementation of observables independent of the particle type.
Definition at line 34 of file ParticleTraits.hpp.
|
inline |
Definition at line 73 of file ParticleTraits.hpp.
References convert_vector_body_to_space(), and Particle::omega().
|
inline |
Definition at line 80 of file ParticleTraits.hpp.
References Particle::omega().
|
inline |
Definition at line 51 of file ParticleTraits.hpp.
References Particle::q().
|
inline |
Definition at line 59 of file ParticleTraits.hpp.
References Particle::dip_fld().
|
inline |
Definition at line 52 of file ParticleTraits.hpp.
References Particle::calc_dip().
|
inline |
Definition at line 87 of file ParticleTraits.hpp.
References Particle::calc_director().
|
inline |
Definition at line 42 of file ParticleTraits.hpp.
References Particle::force().
|
inline |
Definition at line 35 of file ParticleTraits.hpp.
References Particle::id().
|
inline |
Definition at line 43 of file ParticleTraits.hpp.
References Particle::is_virtual(), and Particle::mass().
|
inline |
Definition at line 36 of file ParticleTraits.hpp.
References System::System::box_geo, System::get_system(), Particle::image_box(), and Particle::pos().
|
inline |
Definition at line 40 of file ParticleTraits.hpp.
References Particle::pos().
|
inline |
Definition at line 41 of file ParticleTraits.hpp.
References Particle::v().
|
inline |
Definition at line 66 of file ParticleTraits.hpp.
References convert_vector_space_to_body(), and Particle::v().