From c43b777084f6c02780a11bb59b20439b64009259 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 15 Sep 2020 11:34:05 -0400 Subject: [PATCH] step-3: use a double for the RHS --- examples/step-3/step-3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/step-3/step-3.cc b/examples/step-3/step-3.cc index 9aa93c174e..2a70169659 100644 --- a/examples/step-3/step-3.cc +++ b/examples/step-3/step-3.cc @@ -451,7 +451,7 @@ void Step3::assemble_system() // be considered in the following programs). for (const unsigned int i : fe_values.dof_indices()) cell_rhs(i) += (fe_values.shape_value(i, q_index) * // phi_i(x_q) - 1 * // f(x_q) + 1. * // f(x_q) fe_values.JxW(q_index)); // dx } // Now that we have the contribution of this cell, we have to transfer -- 2.39.5