From f57f0f89ece03996075ff131323b8dd329360ca0 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 2 May 2024 20:28:33 +0530 Subject: [PATCH] Multiply right hand side value from the left with phi_i. --- examples/step-6/step-6.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/step-6/step-6.cc b/examples/step-6/step-6.cc index 3dd3c7153c..17f9746eaa 100644 --- a/examples/step-6/step-6.cc +++ b/examples/step-6/step-6.cc @@ -289,8 +289,8 @@ void Step6::assemble_system() fe_values.shape_grad(j, q_index) * // grad phi_j(x_q) fe_values.JxW(q_index)); // dx - cell_rhs(i) += (1.0 * // f(x) - fe_values.shape_value(i, q_index) * // phi_i(x_q) + cell_rhs(i) += (fe_values.shape_value(i, q_index) * // phi_i(x_q) + 1.0 * // f(x) fe_values.JxW(q_index)); // dx } } -- 2.39.5