From f91fff1beeda4599b17deb202638185f38ca9b99 Mon Sep 17 00:00:00 2001 From: Cameron Stewart <cstewart@icp.uni-stuttgart.de> Date: Mon, 3 Dec 2018 13:06:15 +0100 Subject: [PATCH] one more conversion error --- src/lbm/SuViscoelasticity.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lbm/SuViscoelasticity.h b/src/lbm/SuViscoelasticity.h index 80f0abf15..d7a264446 100644 --- a/src/lbm/SuViscoelasticity.h +++ b/src/lbm/SuViscoelasticity.h @@ -223,7 +223,7 @@ public: if (boundaryHandling->isDomain(cell + *d)) { f[i] += stress->get(cell + *d)(k, i) * d.c(k); } else if(boundaryHandling->isDomain(cell - *d)){ - f[i] += -stress->get(cell - *d)(k, i) * d.c(k) + stress->get(cell)(k, i) * d.c(k) * real_c(2); + f[i] += -stress->get(cell - *d)(k, i) * d.c(k) + stress->get(cell)(k, i) * d.c(k) * real_c(2.0); } else { f[i] += real_t(0); } -- GitLab