![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <distributions.h>
Public Member Functions | |
| virtual | ~Distribution ()=default |
| virtual std::vector< double > | particle_size_sampling (const unsigned int &number_of_particles)=0 |
| virtual double | find_min_diameter ()=0 |
| virtual double | find_max_diameter ()=0 |
| virtual void | print_psd_declaration_string (const unsigned int particle_type, const ConditionalOStream &pcout)=0 |
Protected Member Functions | |
| Distribution (const Parameters::Lagrangian::DistributionWeightingType &distribution_weighting_type) | |
Protected Attributes | |
| const Parameters::Lagrangian::DistributionWeightingType | weighting_type |
| double | dia_min_cutoff |
| double | dia_max_cutoff |
Definition at line 11 of file distributions.h.
|
protected |
Definition at line 12 of file distributions.cc.
References dia_max_cutoff, dia_min_cutoff, and weighting_type.
|
virtualdefault |
Default destructor.
|
pure virtual |
Return the maximum diameter for a certain distribution.
Implemented in CustomDistribution, LogNormalDistribution, NormalDistribution, and UniformDistribution.
|
pure virtual |
Return the minimum diameter for a certain distribution.
Implemented in CustomDistribution, LogNormalDistribution, NormalDistribution, and UniformDistribution.
|
pure virtual |
Carries out the size sampling of particles. This is the base class of NormalDistribution, UniformDistribution and CustomDistribution classes.
| [in] | number_of_particles | Number of particles inserted at a given insertion time step. |
Implemented in CustomDistribution, LogNormalDistribution, NormalDistribution, and UniformDistribution.
|
pure virtual |
Print the declaration string relative to the particle size distribution used.
| particle_type | Particle type of the distribution |
| pcout | Parallel conditional output stream used to print the information |
Implemented in CustomDistribution, LogNormalDistribution, NormalDistribution, and UniformDistribution.
|
protected |
Maximum cutoff diameters values.
Definition at line 27 of file distributions.h.
|
protected |
Minimal cutoff diameters values.
Definition at line 22 of file distributions.h.
|
protected |
Definition at line 14 of file distributions.h.