From 7c53da719967720290f257ca0382c81628982cf1 Mon Sep 17 00:00:00 2001 From: Anton Kamalov Date: Thu, 15 May 2025 01:24:54 +0300 Subject: [PATCH] fix --- src/Solver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Solver.cpp b/src/Solver.cpp index fbbbec4..9f7beb5 100644 --- a/src/Solver.cpp +++ b/src/Solver.cpp @@ -66,7 +66,7 @@ void Solver::SolveExplicit(System& sys, double tstop) const { double tx = (node->r()->T() - 2 * node->T() + node->l()->T()) / pow(sys.step(), 2); double ty = (node->u()->T() - 2 * node->T() + node->d()->T()) / pow(sys.step(), 2); - double t = delta * (tx + ty) * sys.a()/pow(sys.step(), 2) + node->T(); + double t = delta * (tx + ty) * sys.a() + node->T(); node->SetT(t); } }