From 712bb02ab7ff712c2d17437f6944ee7c701b8a8e Mon Sep 17 00:00:00 2001 From: edwardsmith999 Date: Fri, 8 Dec 2023 10:39:13 +0000 Subject: [PATCH] Removed resetsum as vsum_mdt is replaced by vsum in CPLvelocity (not sure why previous velocity was used) --- test/gtests/CPL_force_unittest.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/gtests/CPL_force_unittest.cpp b/test/gtests/CPL_force_unittest.cpp index 8d39dbe2..27067130 100644 --- a/test/gtests/CPL_force_unittest.cpp +++ b/test/gtests/CPL_force_unittest.cpp @@ -789,7 +789,7 @@ TEST_F(CPL_Force_Test, test_velocity_pre_force) { } -//Test for CPLForceFlekkoy - get force +//Test for CPLForceVelocity - get force TEST_F(CPL_Force_Test, test_velocity_get_force) { //Call constructor using cell numbers @@ -824,8 +824,6 @@ TEST_F(CPL_Force_Test, test_velocity_get_force) { std::vector f(3); std::vector cell(3); - //Reset sum here as vsum minus dt used in get force - fxyz.resetsums(); trplefor(icell,jcell,kcell){ r[0] = i/double(icell); r[1] = j/double(jcell); @@ -889,8 +887,6 @@ TEST_F(CPL_Force_Test, test_velocity_get_force_further) { std::vector f(3); std::vector cell(3); - //Reset sum here as vsum minus dt used in get force - fxyz.resetsums(); trplefor(icell,jcell,kcell){ r[0] = i/double(icell); r[1] = j/double(jcell);