chrono::particlefactory::ChParticleProcessEventCount Class Reference

Description

Processed particle will be counted.

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::ChParticleProcessEventCount:
Collaboration diagram for chrono::particlefactory::ChParticleProcessEventCount:

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.
 
- Public Member Functions inherited from chrono::particlefactory::ChParticleProcessEvent
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

int counter
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono/particlefactory/ChParticleProcessEvent.h