chrono::particlefactory::ChRandomParticleAlignmentUniform Class Reference

Description

Class for generator of random particle alignment.

The S3 space is not uniformly sampled - this is a quick approximation anyway.

#include <ChRandomParticleAlignment.h>

Inheritance diagram for chrono::particlefactory::ChRandomParticleAlignmentUniform:
Collaboration diagram for chrono::particlefactory::ChRandomParticleAlignmentUniform:

Public Member Functions

virtual ChQuaternion RandomAlignment () override
 Function that creates a random alignment (as a rotation quaternion) each time it is called. More...
 

Member Function Documentation

◆ RandomAlignment()

virtual ChQuaternion chrono::particlefactory::ChRandomParticleAlignmentUniform::RandomAlignment ( )
inlineoverridevirtual

Function that creates a random alignment (as a rotation quaternion) each time it is called.

The alignment is a random polar rotation.

Reimplemented from chrono::particlefactory::ChRandomParticleAlignment.


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