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

Constructor & Destructor Documentation

◆ ChZhangDistribution()

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

◆ 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/ChDistribution.h
  • /builds/uwsbel/chrono/src/chrono/core/ChDistribution.cpp