chrono::particlefactory::ChParticleRemoverBox Class Reference


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

void SetBox (const ChVector3d &lengths, const ChFrame<> &frame)
 Set the dimensions and position of the trigger box.
ChBoxGetBox ()
void SetRemoveOutside (bool invert)
 Toggle inside/outside 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< ChParticleEventTriggertrigger
std::shared_ptr< ChParticleProcessEventparticle_processor

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