Peano
Loading...
Searching...
No Matches
InsertRandomParticlesIntoCells.py
Go to the documentation of this file.
1# This file is part of the ExaParty project. For conditions of distribution and
2# use, please see the copyright notice at www.peano-framework.org
4
5
8):
10 self,
11 particle_set,
12 average_distance_between_particles_along_one_axis,
13 initialisation_call,
14 additional_includes="",
15 ):
16 """!
17
18 Very simplistic wrapper around generic factory mechanism from
19 the toolbox.
20
21 """
22 super(InsertRandomParticlesIntoCells, self).__init__(
23 particle_set=particle_set,
24 average_distance_between_particles=average_distance_between_particles_along_one_axis,
25 initialisation_call=initialisation_call,
26 noise=True,
27 additional_includes=additional_includes
28 + """
29#include "Constants.h"
30""",
31 )
32
34 return __name__.replace(".py", "").replace(".", "_")
__init__(self, particle_set, average_distance_between_particles_along_one_axis, initialisation_call, additional_includes="")
Very simplistic wrapper around generic factory mechanism from the toolbox.