Export the totalNumParticles field
This commit is contained in:
parent
857b5dc95d
commit
b5a6ebb05c
@ -185,6 +185,11 @@ cdef class Simulation:
|
|||||||
def __get__(Simulation self):
|
def __get__(Simulation self):
|
||||||
return self.data.NumPart
|
return self.data.NumPart
|
||||||
|
|
||||||
|
|
||||||
|
property totalNumParticles:
|
||||||
|
def __get__(Simulation self):
|
||||||
|
return self.data.TotalNumPart
|
||||||
|
|
||||||
def __cinit__(Simulation self):
|
def __cinit__(Simulation self):
|
||||||
self.data = <SimuData *>0
|
self.data = <SimuData *>0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user