![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <distributions.h>
Public Member Functions | |
| UniformDistribution (const double &d_values) | |
| virtual std::vector< double > | particle_size_sampling (const unsigned int &number_of_particles) override |
| double | find_min_diameter () override |
| double | find_max_diameter () override |
| void | print_psd_declaration_string (const unsigned int particle_type, const ConditionalOStream &pcout) override |
| Public Member Functions inherited from Distribution | |
| virtual | ~Distribution ()=default |
Private Attributes | |
| const double | diameter_value |
Additional Inherited Members | |
| Protected Member Functions inherited from Distribution | |
| Distribution (const Parameters::Lagrangian::DistributionWeightingType &distribution_weighting_type) | |
| Protected Attributes inherited from Distribution | |
| const Parameters::Lagrangian::DistributionWeightingType | weighting_type |
| double | dia_min_cutoff |
| double | dia_max_cutoff |
Definition at line 231 of file distributions.h.
| UniformDistribution::UniformDistribution | ( | const double & | d_values | ) |
The constructor stores the parameters necessary to define the uniform distribution.
| d_values | Diameter values for each particle type. |
Definition at line 348 of file distributions.cc.
References diameter_value, and Distribution::Distribution().
|
overridevirtual |
Find the maximum diameter of the uniform distribution.
Implements Distribution.
Definition at line 374 of file distributions.cc.
References diameter_value.
|
overridevirtual |
Find the minimum diameter of the uniform distribution.
Implements Distribution.
Definition at line 368 of file distributions.cc.
References diameter_value.
|
overridevirtual |
Carries out the size sampling of every particle inserted at an insertion time step for the uniform distribution.
| [in] | number_of_particles | Number of particles inserted at a given insertion time step. |
Implements Distribution.
Definition at line 355 of file distributions.cc.
|
overridevirtual |
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 |
Implements Distribution.
Definition at line 380 of file distributions.cc.
|
private |
The diameter value of the distribution.
Definition at line 285 of file distributions.h.