Use more general filename list type
This commit is contained in:
parent
58a39416e7
commit
df50699799
@ -301,7 +301,7 @@ It loads a gadget-1 snapshot and return a PySimulationBase object. If cpu_id is
|
|||||||
|
|
||||||
return _PySimulationAdaptor(wrap_simudata(data, flags))
|
return _PySimulationAdaptor(wrap_simudata(data, flags))
|
||||||
|
|
||||||
def loadParallelGadget(list filename_list, bool loadPosition = True, bool loadVelocity = False, bool loadId = False, bool loadType = False, bool loadMass=False):
|
def loadParallelGadget(object filename_list, bool loadPosition = True, bool loadVelocity = False, bool loadId = False, bool loadType = False, bool loadMass=False):
|
||||||
cdef int flags, i, num_files
|
cdef int flags, i, num_files
|
||||||
cdef list out_arrays
|
cdef list out_arrays
|
||||||
cdef SimuData ** data
|
cdef SimuData ** data
|
||||||
|
Loading…
Reference in New Issue
Block a user