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