From: Wolfgang Bangerth Date: Mon, 8 Jun 1998 01:07:22 +0000 (+0000) Subject: . X-Git-Tag: v8.0.0~22868 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=303bbd2c082e6da0249eb45d304ea4f199d1b8f6;p=dealii.git . git-svn-id: https://svn.dealii.org/trunk@386 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/numerics/vectors.cc b/deal.II/deal.II/source/numerics/vectors.cc index 6c5c03ea0a..b38fe601b4 100644 --- a/deal.II/deal.II/source/numerics/vectors.cc +++ b/deal.II/deal.II/source/numerics/vectors.cc @@ -158,7 +158,8 @@ void VectorTools::project (const DoFHandler &dof, dSMatrix mass_matrix (sparsity); dVector tmp (mass_matrix.n()); MatrixCreator::create_mass_matrix (dof, fe, boundary, mass_matrix); - VectorTools::create_right_hand_side (dof, fe, q, boundary, function, tmp); + VectorTools::create_right_hand_side (dof, fe, q, boundary, + function, tmp); constraints.condense (mass_matrix); MatrixTools::apply_boundary_values (boundary_values, @@ -172,6 +173,7 @@ void VectorTools::project (const DoFHandler &dof, // solve cg (mass_matrix, vec, tmp); + // distribute solution constraints.distribute (vec); };