SPH
|
Parametrized spiraling scheme by Saff & Kuijlaars (1997). More...
#include <Distribution.h>
Public Member Functions | |
ParametrizedSpiralingDistribution (const Size seed) | |
virtual Array< Vector > | generate (IScheduler &scheduler, const Size n, const IDomain &domain) const override |
Generates the requested number of particles in the domain. More... | |
Public Member Functions inherited from Polymorphic | |
virtual | ~Polymorphic () |
Parametrized spiraling scheme by Saff & Kuijlaars (1997).
This distribution is mainly intended for spherically symmetric bodies.
Definition at line 166 of file Distribution.h.
|
explicit |
Definition at line 438 of file Distribution.cpp.
|
overridevirtual |
Generates the requested number of particles in the domain.
Function shall also set the smoothing lenghts of the generated particles in the 4th components of the returned vectors.
scheduler | Scheduler that can be used for parallelization. |
n | Expected number of generated particles. |
domain | Computational domain where the vertices are distributed |
Implements IDistribution.
Definition at line 441 of file Distribution.cpp.