12 distance_between_particles_along_one_axis,
15 additional_includes="",
19 Wrapper around toolbox tying it to ExaParty's global properties
21 Very simplistic wrapper around generic factory mechanism from
22 the toolbox. The script adds references to DomainOffset[2] and
23 DomainSize[2] for example which are defined in Constants.h. This
24 constants file is something that's specific to ExaParty and not to
25 the particles toolbox.
27 We do not care at this point, if entries like DomainOffset[2]
28 do exist, i.e. if we run a 3d simulation. These are just inserted
29 into the generated C++ code which then in turn masks entries like
30 DomainSize[2] out if we work with Dimensions==2.
32 Parameter noise_scale is the amplitude of the noise in units of
33 distance_between_particles_along_one_axis
36 super(InsertNoisyParticlesAlongCartesianGrid, self).
__init__(
37 particle_set=particle_set,
38 distance_between_particles=distance_between_particles_along_one_axis,
39 initialisation_call=initialisation_call,
41 noise_scale=noise_scale,
42 computational_domain_offset=[
47 computational_domain_size=[
52 additional_includes=additional_includes