From: Wolfgang Bangerth Date: Thu, 2 May 2024 14:58:33 +0000 (+0530) Subject: Multiply right hand side value from the left with phi_i. X-Git-Tag: v9.6.0-rc1~328^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F16953%2Fhead;p=dealii.git Multiply right hand side value from the left with phi_i. --- 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 } }