Added OpenCL CIC code
This commit is contained in:
parent
1e733f2318
commit
f6ad248f75
8 changed files with 297 additions and 78 deletions
|
@ -203,7 +203,7 @@ int main(int argc, char **argv)
|
|||
bins, interpolated, getMass, rLimit2);
|
||||
hdf5_write_array(out_f, "density", interpolated);
|
||||
//out_f.flush();
|
||||
for (int i = 0; i < 3; i++) {
|
||||
for (int i = 0; i < 0; i++) {
|
||||
computeInterpolatedField(&tree1, boxsize, Nres, cx, cy, cz,
|
||||
bins, interpolated, boost::bind(getVelocity, _1, i), rLimit2);
|
||||
hdf5_write_array(out_f, str(format("p%d") % i), interpolated);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue