SPH
|
Distribution with given particle density. More...
#include <Distribution.h>
Public Member Functions | |
DiehlDistribution (const DiehlParams ¶ms) | |
Constructs the distribution. More... | |
virtual Array< Vector > | generate (IScheduler &scheduler, const Size n, const IDomain &domain) const override |
Returns generated particle distribution. More... | |
![]() | |
virtual | ~Polymorphic () |
Distribution with given particle density.
Particles are placed using algorithm by Diehl et al. (2012) [8]
Definition at line 149 of file Distribution.h.
|
explicit |
Constructs the distribution.
Definition at line 205 of file Distribution.cpp.
|
overridevirtual |
Returns generated particle distribution.
Smoothing lengths correspond to particle density given in the constructor (as h ~ n^(-1/3) )
Implements IDistribution.
Definition at line 330 of file Distribution.cpp.