From: bangerth Date: Tue, 4 Oct 2011 13:04:03 +0000 (+0000) Subject: Switch back to the same matrix terms in the Stokes preconditioner we X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08849bd7c8f6c0bcefb1e4c1017aef65d1fc0ac0;p=dealii-svn.git Switch back to the same matrix terms in the Stokes preconditioner we have been using in step-31. The formula yields the same terms up to roundoff anyway. git-svn-id: https://svn.dealii.org/trunk@24528 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-32/step-32.cc b/deal.II/examples/step-32/step-32.cc index ccd6bf5252..6d5fc9cbca 100644 --- a/deal.II/examples/step-32/step-32.cc +++ b/deal.II/examples/step-32/step-32.cc @@ -437,10 +437,10 @@ namespace Step32 StokesPreconditioner (const StokesPreconditioner &data); - FEValues stokes_fe_values; + FEValues stokes_fe_values; - std::vector > grads_phi_u; - std::vector phi_p; + std::vector > grad_phi_u; + std::vector phi_p; }; template @@ -452,7 +452,7 @@ namespace Step32 : stokes_fe_values (mapping, stokes_fe, stokes_quadrature, update_flags), - grads_phi_u (stokes_fe.dofs_per_cell), + grad_phi_u (stokes_fe.dofs_per_cell), phi_p (stokes_fe.dofs_per_cell) {} @@ -466,7 +466,7 @@ namespace Step32 scratch.stokes_fe_values.get_fe(), scratch.stokes_fe_values.get_quadrature(), scratch.stokes_fe_values.get_update_flags()), - grads_phi_u (scratch.grads_phi_u), + grad_phi_u (scratch.grad_phi_u), phi_p (scratch.phi_p) {} @@ -2682,25 +2682,21 @@ namespace Step32 { for (unsigned int k=0; k