Adds up LinearVelocity + Parameters::relaxationParam * velocity_correction in a particle and transmits the result to all its ghost particles.
After adding up and sending the result, the velocity corrections of the main particle are reset to 0. After receiving new values, the velocity_corrections of the ghost_particles are reset to 0. This notification is used during relaxation with the HCSITS solver. Notification for use with BroadcastProperty only.
#include <VelocityUpdateNotification.h>
Classes | |
struct | Parameters |
Public Member Functions | |
VelocityUpdateNotification (data::Particle &p) | |
Public Attributes | |
data::Particle & | p_ |
|
inlineexplicit |
data::Particle& walberla::mesa_pd::VelocityUpdateNotification::p_ |