chrono::particlefactory::ChParticleProcessEventRemove Class Reference

Description

Processed particle will be removed.

Note that this does not necessarily means also deletion of the particle, because they are handled with shared pointers; however if they were referenced only by the ChSystem, this also leads to deletion.

#include <ChParticleProcessEvent.h>

Inheritance diagram for chrono::particlefactory::ChParticleProcessEventRemove:
Collaboration diagram for chrono::particlefactory::ChParticleProcessEventRemove:

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) override
 Children classes might optionally implement this. More...
 
virtual void SetupPostProcess (ChSystem &msystem) override
 Children classes might optionally implement this. More...
 

Member Function Documentation

◆ SetupPostProcess()

virtual void chrono::particlefactory::ChParticleProcessEventRemove::SetupPostProcess ( ChSystem msystem)
inlineoverridevirtual

Children classes might optionally implement this.

The ChParticleProcessor will call this once, after each ProcessParticles()

Reimplemented from chrono::particlefactory::ChParticleProcessEvent.

◆ SetupPreProcess()

virtual void chrono::particlefactory::ChParticleProcessEventRemove::SetupPreProcess ( ChSystem msystem)
inlineoverridevirtual

Children classes might optionally implement this.

The ChParticleProcessor will call this once, before each ProcessParticles()

Reimplemented from chrono::particlefactory::ChParticleProcessEvent.


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