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 part.size.

#include <ChDistribution.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 part. More...
 
virtual double GetRandom ()
 Compute a random value whose probability density is the Weibull distribution. More...
 
double GetMinSize ()
 
double GetAverageSize ()
 
- Public Member Functions inherited from chrono::ChDistribution
virtual ~ChDistribution ()
 Default destructor for distribution object.
 

Constructor & Destructor Documentation

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

Create the Zhang distribution with average part.

size and minimum particle size. Usually average:minimum = 3.25:1

Member Function Documentation

virtual double chrono::ChZhangDistribution::GetRandom ( )
virtual

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

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

Implements chrono::ChDistribution.