chrono::particlefactory::ChRandomParticlePositionOnGeometry Class Reference
Description
Class for generator of random particle positions scattered over a parametric surface.
#include <ChRandomParticlePosition.h>
Inheritance diagram for chrono::particlefactory::ChRandomParticlePositionOnGeometry:

Collaboration diagram for chrono::particlefactory::ChRandomParticlePositionOnGeometry:

Public Member Functions | |
virtual ChVector3d | RandomPosition () override |
Function that creates a random position each time it is called. | |
void | SetGeometry (std::shared_ptr< ChGeometry > geometry, const ChFrame<> &frame) |
Set the parametric surface used for this outlet. | |
Member Function Documentation
◆ RandomPosition()
|
inlineoverridevirtual |
Function that creates a random position each time it is called.
Reimplemented from chrono::particlefactory::ChRandomParticlePosition.
◆ SetGeometry()
|
inline |
Set the parametric surface used for this outlet.
The surface will be sampled uniformly over its U,V parametric coordinates. In cas of lines, oly U is used, in case of parametric volumes, U,V,W.
The documentation for this class was generated from the following file:
- C:/M/B/src/chrono-9.0.1/src/chrono/particlefactory/ChRandomParticlePosition.h