From 872edf1c96ef29831f435ea7b54fece51aa07f90 Mon Sep 17 00:00:00 2001 From: "Martin D. Weinberg" Date: Sun, 22 Dec 2024 10:07:37 -0500 Subject: [PATCH] One more AddAccExt change --- src/user/UserLogPot.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/user/UserLogPot.cc b/src/user/UserLogPot.cc index 7f34c3af2..cf17d6e55 100644 --- a/src/user/UserLogPot.cc +++ b/src/user/UserLogPot.cc @@ -105,11 +105,11 @@ void * UserLogPot::determine_acceleration_and_potential_thread(void * arg) zz = cC->Pos(i, 2); rr = R*R + xx*xx + yy*yy/(b*b) + zz*zz/(c*c); - cC->AddAcc(i, 0,-v2*xx/rr ); + cC->AddAccExt(i, 0,-v2*xx/rr ); - cC->AddAcc(i, 1, -v2*yy/(rr*b*b) ); + cC->AddAccExt(i, 1, -v2*yy/(rr*b*b) ); - cC->AddAcc(i, 2, -v2*zz/(rr*c*c) ); + cC->AddAccExt(i, 2, -v2*zz/(rr*c*c) ); cC->AddPotExt(i, 0.5*v2*log(rr) ); }