chrono::particlefactory::ChRandomParticlePosition Class Reference
Description
BASE class for generators of random particle positions.
By default it simply always returns Pxyz={0,0,0}, so it it is up to sub-classes to implement more sophisticated randomizations.
#include <ChRandomParticlePosition.h>
Inheritance diagram for chrono::particlefactory::ChRandomParticlePosition:
Public Member Functions | |
virtual ChVector | RandomPosition () |
Function that creates a random position each time it is called. More... | |
Member Function Documentation
◆ RandomPosition()
|
inlinevirtual |
Function that creates a random position each time it is called.
Note: it must be implemented by children classes!
Reimplemented in chrono::particlefactory::ChRandomParticlePositionOnGeometry, and chrono::particlefactory::ChRandomParticlePositionRectangleOutlet.
The documentation for this class was generated from the following file:
- /builds/uwsbel/chrono/src/chrono/particlefactory/ChRandomParticlePosition.h