ESyS-Particle  2.3.4
ProbDist Class Reference

#include <probdist.h>

Public Member Functions

 ProbDist (double MinSize, double MaxSize, double BaseConst, int DistType)
 
 ~ProbDist ()
 
void AddSample (double evsize)
 
void AddSample (double evsize, double weight)
 
void Write (const char *filename, double EvRate)
 

Private Member Functions

void Create ()
 
void Destroy ()
 
void AddEvSize (double evsize)
 
void AddEvSize (double evsize, double weight)
 

Private Attributes

long nbins
 
int disttype
 
double maxsize
 
double minsize
 
double binsize
 
double base
 
long Nevents
 
long * Edist
 
double * Vdist
 

Constructor & Destructor Documentation

◆ ProbDist()

ProbDist::ProbDist ( double  MinSize,
double  MaxSize,
double  BaseConst,
int  DistType 
)

References base, Create(), disttype, maxsize, minsize, nbins, and Nevents.

Here is the call graph for this function:

◆ ~ProbDist()

ProbDist::~ProbDist ( )

References Destroy().

Here is the call graph for this function:

Member Function Documentation

◆ AddEvSize() [1/2]

void ProbDist::AddEvSize ( double  evsize)
private

References base, disttype, Edist, minsize, nbins, Nevents, and Vdist.

Referenced by AddSample().

Here is the caller graph for this function:

◆ AddEvSize() [2/2]

void ProbDist::AddEvSize ( double  evsize,
double  weight 
)
private

References base, disttype, Edist, minsize, nbins, Nevents, and Vdist.

◆ AddSample() [1/2]

void ProbDist::AddSample ( double  evsize)

References AddEvSize().

Referenced by Graph::printGrainCountDist(), Graph::printGrainDiamDist(), Graph::printGrainMassDist(), and Graph::printSieveDist().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddSample() [2/2]

void ProbDist::AddSample ( double  evsize,
double  weight 
)

References AddEvSize().

Here is the call graph for this function:

◆ Create()

void ProbDist::Create ( )
private

References Edist, nbins, and Vdist.

Referenced by ProbDist().

Here is the caller graph for this function:

◆ Destroy()

void ProbDist::Destroy ( )
private

References Edist, and Vdist.

Referenced by ~ProbDist().

Here is the caller graph for this function:

◆ Write()

void ProbDist::Write ( const char *  filename,
double  EvRate 
)

References base, disttype, Edist, minsize, nbins, Nevents, and Vdist.

Referenced by Graph::printGrainCountDist(), Graph::printGrainDiamDist(), Graph::printGrainMassDist(), and Graph::printSieveDist().

Here is the caller graph for this function:

Member Data Documentation

◆ base

double ProbDist::base
private

Referenced by AddEvSize(), ProbDist(), and Write().

◆ binsize

double ProbDist::binsize
private

◆ disttype

int ProbDist::disttype
private

Referenced by AddEvSize(), ProbDist(), and Write().

◆ Edist

long* ProbDist::Edist
private

Referenced by AddEvSize(), Create(), Destroy(), and Write().

◆ maxsize

double ProbDist::maxsize
private

Referenced by ProbDist().

◆ minsize

double ProbDist::minsize
private

Referenced by AddEvSize(), ProbDist(), and Write().

◆ nbins

long ProbDist::nbins
private

Referenced by AddEvSize(), Create(), ProbDist(), and Write().

◆ Nevents

long ProbDist::Nevents
private

Referenced by AddEvSize(), ProbDist(), and Write().

◆ Vdist

double* ProbDist::Vdist
private

Referenced by AddEvSize(), Create(), Destroy(), and Write().


The documentation for this class was generated from the following files: