Definition at line 12 of file Sedov.cpp.
◆ generate()
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.
- Parameters
-
scheduler | Scheduler that can be used for parallelization. |
n | Expected number of generated particles. |
domain | Computational domain where the vertices are distributed |
- Returns
- Output array of vertices. The total number of vertices can slightly differ from n.
- Note
- This method is expected to be called once at the beginning of the run, so we can return allocated array without worrying about performance costs here.
Implements IDistribution.
Definition at line 14 of file Sedov.cpp.
The documentation for this class was generated from the following file:
- /home/pavel/projects/astro/sph/src/cli/problems/sedov/Sedov.cpp