ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
Loading...
Searching...
No Matches
ParticleMomentum Struct Reference

Momentum information on a particle. More...

#include <Particle.hpp>

Public Member Functions

template<class Archive >
void serialize (Archive &ar, long int)
 

Public Attributes

Utils::Vector3d v = {0., 0., 0.}
 velocity.
 
Utils::Vector3d omega = {0., 0., 0.}
 angular velocity.
 

Detailed Description

Momentum information on a particle.

Information not contained in communication of ghost particles so far, but a communication would be necessary for velocity-dependent potentials.

Definition at line 333 of file Particle.hpp.

Member Function Documentation

◆ serialize()

template<class Archive >
void ParticleMomentum::serialize ( Archive &  ar,
long int   
)
inline

Definition at line 344 of file Particle.hpp.

References omega, and v.

Member Data Documentation

◆ omega

Utils::Vector3d ParticleMomentum::omega = {0., 0., 0.}

angular velocity.

ALWAYS IN PARTICLE FIXED, I.E., CO-ROTATING COORDINATE SYSTEM.

Definition at line 341 of file Particle.hpp.

Referenced by Particle::omega(), Particle::omega(), and serialize().

◆ v

Utils::Vector3d ParticleMomentum::v = {0., 0., 0.}

velocity.

Definition at line 335 of file Particle.hpp.

Referenced by serialize(), Particle::v(), and Particle::v().


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