chrono::ChZhangDistribution Class Reference

Description

Class that generates the Zhang distribution, a modified exponential distribution.

It is used to describe particle size distribution, with minimum particle size.

#include <ChRandom.h>

Inheritance diagram for chrono::ChZhangDistribution:
Collaboration diagram for chrono::ChZhangDistribution:

Public Member Functions

 ChZhangDistribution (double average_size, double minimum_size)
 Create the Zhang distribution with average and minimum particle size. More...
 
virtual double GetRandom () override
 Compute a random value whose probability density is the Weibull distribution. More...
 
double GetMinSize () const
 
double GetAverageSize () const
 

Constructor & Destructor Documentation

◆ ChZhangDistribution()

chrono::ChZhangDistribution::ChZhangDistribution ( double  average_size,
double  minimum_size 
)

Create the Zhang distribution with average and minimum particle size.

Usually is average : minimum = 3.25 : 1

Member Function Documentation

◆ GetRandom()

double chrono::ChZhangDistribution::GetRandom ( )
overridevirtual

Compute a random value whose probability density is the Weibull distribution.

It uses the "Smirnov transform" (inverse probability integral transform)

Implements chrono::ChDistribution.


The documentation for this class was generated from the following files:
  • /builds/uwsbel/chrono/src/chrono/core/ChRandom.h
  • /builds/uwsbel/chrono/src/chrono/core/ChRandom.cpp