chrono::particlefactory::ChParticleRemoverBox Class Reference

Description

Utility class: shortcut for creating a ChParticleProcessor that already contains a ChParticleEventTriggerBox and a ChParticleProcessEventRemove.

Keeps things easier.

#include <ChParticleRemover.h>

Inheritance diagram for chrono::particlefactory::ChParticleRemoverBox:
Collaboration diagram for chrono::particlefactory::ChParticleRemoverBox:

Public Member Functions

geometry::ChBoxGetBox ()
 easy access to box of trigger
 
void SetRemoveOutside (bool minvert)
 easy access to in/out toggle of trigger
 
- Public Member Functions inherited from chrono::particlefactory::ChParticleProcessor
virtual int ProcessParticles (ChSystem &msystem)
 This function process particles according to some rule, defined by plugging appropriate ChParticleEventTrigger and ChParticleProcessEvent. More...
 
void SetEventTrigger (std::shared_ptr< ChParticleEventTrigger > mtrigger)
 Use this function to plug in an event trigger.
 
void SetParticleEventProcessor (std::shared_ptr< ChParticleProcessEvent > mproc)
 Use this function to plug in a particle event processor.
 

Additional Inherited Members

- Protected Attributes inherited from chrono::particlefactory::ChParticleProcessor
std::shared_ptr
< ChParticleEventTrigger
trigger
 
std::shared_ptr
< ChParticleProcessEvent
particle_processor