Commit 04d83d5b authored by LAMBERT Jean-charles's avatar LAMBERT Jean-charles
Browse files

add velocity in fast cod output

parent 29ce5d8c
......@@ -299,7 +299,7 @@ class CCod:
cxv=uns_snap.center(pos,vel,rho*mass)
else : # fastcod
ctree=CTree(pos,None,mass) # instantiate a ctree object
ctree=CTree(pos,vel,mass) # instantiate a ctree object
cxv=ctree.fastCod3(self.__ctree_threshold)
print ("TCXV : ", time,cxv,file=sys.stderr)
......@@ -590,7 +590,7 @@ class CCod:
cxv=uns_snap.center(pos,vel,rho*mass)
else : # fastcod
ctree=CTree(pos,None,mass) # instantiate a ctree object
ctree=CTree(pos,vel,mass) # instantiate a ctree object
cxv=ctree.fastCod3(self.__ctree_threshold)
print ("TCXV : ", time,cxv,file=sys.stderr)
......@@ -1081,7 +1081,7 @@ class CCod:
cxv=uns_snap.center(pos,vel,rho*mass)
else : # fastcod
ctree=CTree(pos,None,mass) # instantiate a ctree object
ctree=CTree(pos,vel,mass) # instantiate a ctree object
cxv=ctree.fastCod3(self.__ctree_threshold)
if self.__vdebug:
print ("TCXV : ", time,cxv,file=sys.stderr)
......
Markdown is supported
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