SPH
|
Public Member Functions | |
virtual Array< Vector > | generate (IScheduler &, const Size n, const IDomain &domain) const override |
Generates the requested number of particles in the domain. More... | |
![]() | |
virtual | ~Polymorphic () |
Definition at line 12 of file KelvinHelmholtz.cpp.
|
inlineoverridevirtual |
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 14 of file KelvinHelmholtz.cpp.