update Bank datatype on python side

This commit is contained in:
John Tramm 2019-12-02 19:54:10 +00:00
parent 066bcb6052
commit 25eb7edffd
2 changed files with 3 additions and 2 deletions

View file

@ -5,7 +5,7 @@
<run_mode>eigenvalue</run_mode>
<batches>10</batches>
<inactive>5</inactive>
<particles>100000</particles>
<particles>1000</particles>
<!-- The starting source is a uniform distribution over the entire pin
cell. Note that since this is effectively a 2D model, the z coordinates

View file

@ -20,7 +20,8 @@ class _Bank(Structure):
('E', c_double),
('wgt', c_double),
('delayed_group', c_int),
('particle', c_int)]
('particle', c_int),
('parent_id', c_int64)]
# Define input type for numpy arrays that will be passed into C++ functions