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