Commit 5ca38e71 authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles
Browse files

add float/souble support

parent ec28f8c3
......@@ -203,12 +203,12 @@ void process(uns::CunsIn * uns, float agemax, uns::CunsOut * unsout)
// Put gas particles into an octree and make tree
std::cerr << "Start tree building.....\n";
CTree * tree = new CTree(ngas,gpos,(float *) NULL);
CTree<float> * tree = new CTree<float>(ngas,gpos,(float *) NULL);
time_maketree = timing.cpu();
std::cerr << "Tree done in :" << time_maketree << " secondes\n";
// create neibors object
CNeibors * neibors = new CNeibors(tree);
CNeibors<float> * neibors = new CNeibors<float>(tree);
// find neibors
timing.restart();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment