[gyoto] 01/03: Correct KerrBL::circularVelocity()

Thibaut Jean-Claude Paumard thibaut at moszumanska.debian.org
Fri Sep 19 12:50:10 UTC 2014


This is an automated email from the git hooks/post-receive script.

thibaut pushed a commit to annotated tag upstream/0.2.2
in repository gyoto.

commit ecedb397dde61cf787c4bc2e86eea9c61e2a660e
Author: Thibaut Paumard <paumard at users.sourceforge.net>
Date:   Tue Sep 9 11:38:18 2014 +0200

    Correct KerrBL::circularVelocity()
---
 lib/KerrBL.C | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/KerrBL.C b/lib/KerrBL.C
index bdd48bf..be13d7c 100644
--- a/lib/KerrBL.C
+++ b/lib/KerrBL.C
@@ -444,7 +444,8 @@ void KerrBL::circularVelocity(double const coor[4], double vel[4],
   double coord[4] = {coor[0], coor[1]*sinth, M_PI*0.5, coor[3]};
 
   vel[1] = vel[2] = 0.;
-  vel[3] = 1./((dir*pow(coord[1], 1.5) + spin_)*sinth);
+  //vel[3] = 1./((dir*pow(coord[1], 1.5) + spin_)*sinth);
+  vel[3] = 1./((dir*pow(coord[1], 1.5) + spin_));
 
   vel[0] = SysPrimeToTdot(coor, vel+1);
   vel[3] *= vel[0];

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gyoto.git



More information about the debian-science-commits mailing list