Compare commits
No commits in common. "b7b250ca5f37d7a695888cee9e77add4f9d69c38" and "33cc40a0956ab34ae4b28e422c1cc1541e93d06c" have entirely different histories.
b7b250ca5f
...
33cc40a095
|
|
@ -61,12 +61,6 @@ class Particles:
|
|||
for key in col:
|
||||
col[key]-=1
|
||||
return cls.from_array(pp,col,time,period,select_col=select_col)
|
||||
|
||||
@classmethod
|
||||
def from_ucf(cls,file,period,select_col=None):
|
||||
from .ucf import read_particles
|
||||
(pp,col,time) = read_particles(file,step=1,verbosity=False,debug=False)
|
||||
return cls.from_array(pp,col,time,period,select_col=select_col)
|
||||
|
||||
@classmethod
|
||||
def from_position(cls,x,y,z,time,period):
|
||||
|
|
|
|||
6
ucf.py
6
ucf.py
|
|
@ -864,9 +864,9 @@ def colmap_from_flags(irank,ihybrid,idem,iscal):
|
|||
col['tyc'] = ioffset; ioffset+=1
|
||||
col['tzc'] = ioffset; ioffset+=1
|
||||
if iscal>0:
|
||||
for ii in range(iscal):
|
||||
col['s'+str(ii+1)] = ioffset; ioffset+=1
|
||||
col['q'+str(ii+1)] = ioffset; ioffset+=1
|
||||
for ii in range(0,iscal):
|
||||
col['s'+str(ii)] = ioffset; ioffset+=1
|
||||
col['q'+str(ii)] = ioffset; ioffset+=1
|
||||
return col
|
||||
|
||||
def grid_chunk(chunk,gridg):
|
||||
|
|
|
|||
Loading…
Reference in New Issue