Added OpenCL CIC code
This commit is contained in:
parent
1e733f2318
commit
f6ad248f75
8 changed files with 297 additions and 78 deletions
|
@ -8,6 +8,7 @@ s = ct.loadRamsesAll(sys.argv[1], int(sys.argv[2]), doublePrecision=True, loadVe
|
|||
|
||||
q = [p for p in s.getPositions()]
|
||||
q += [p for p in s.getVelocities()]
|
||||
q += [np.ones(q[0].size,dtype=q[0].dtype)]
|
||||
q = np.array(q)
|
||||
|
||||
with h5.File("particles.h5", mode="w") as f:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue