chrono::particlefactory::ChParticleProcessEventMassCount Class Reference
Description
Processed particle will increment a mass counter .
Note that you have to use this processor with triggers that make some sense, such as ChParticleEventFlowInRectangle, because with others like ChParticleEventTriggerBox you'll get a trigger per each timestep, not only after the particle entered the box.
#include <ChParticleProcessEvent.h>
Inheritance diagram for chrono::particlefactory::ChParticleProcessEventMassCount:

Collaboration diagram for chrono::particlefactory::ChParticleProcessEventMassCount:

Public Member Functions | |
virtual void | ParticleProcessEvent (std::shared_ptr< ChBody > mbody, ChSystem &msystem, std::shared_ptr< ChParticleEventTrigger > mprocessor) override |
Remove the particle from the system. | |
![]() | |
virtual void | SetupPreProcess (ChSystem &msystem) |
Children classes might optionally implement this. More... | |
virtual void | SetupPostProcess (ChSystem &msystem) |
Children classes might optionally implement this. More... | |
Public Attributes | |
double | counted_mass |
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/particlefactory/ChParticleProcessEvent.h