From 44c1859e8a8f3d65aafa5276f859f4496e461329 Mon Sep 17 00:00:00 2001 From: Dave Parker Date: Mon, 7 Aug 2023 23:22:32 -0700 Subject: [PATCH] Fix indexing bug. (#80) --- Code/Source/svFSI/fluid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Source/svFSI/fluid.cpp b/Code/Source/svFSI/fluid.cpp index e4ff4a5..2acdcec 100644 --- a/Code/Source/svFSI/fluid.cpp +++ b/Code/Source/svFSI/fluid.cpp @@ -1568,7 +1568,7 @@ void fluid_3d_m(ComMod& com_mod, const int vmsFlag, const int eNoNw, const int e ux(1,2) = ux(1,2) + Nwx(1,a)*yl(2,a); ux(2,2) = ux(2,2) + Nwx(2,a)*yl(2,a); - uxx(0,0,1) = uxx(0,0,0) + Nwxx(0,a)*yl(0,a); + uxx(0,0,0) = uxx(0,0,0) + Nwxx(0,a)*yl(0,a); uxx(1,0,1) = uxx(1,0,1) + Nwxx(1,a)*yl(0,a); uxx(2,0,2) = uxx(2,0,2) + Nwxx(2,a)*yl(0,a); uxx(1,0,0) = uxx(1,0,0) + Nwxx(3,a)*yl(0,a);