From: bangerth Date: Fri, 15 Aug 2008 04:58:01 +0000 (+0000) Subject: Make output patches adaptive on polynomial degree. Remove a number of variables that... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f9efd8cc9c4a9f73e442b87be39f77522548bb;p=dealii-svn.git Make output patches adaptive on polynomial degree. Remove a number of variables that are no longer needed. git-svn-id: https://svn.dealii.org/trunk@16560 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-31/step-31.cc b/deal.II/examples/step-31/step-31.cc index 5ed0f8a9b1..eeccfb98bc 100644 --- a/deal.II/examples/step-31/step-31.cc +++ b/deal.II/examples/step-31/step-31.cc @@ -1174,8 +1174,6 @@ BoussinesqFlowProblem::assemble_preconditioner () preconditioner_matrix = 0; QGauss quadrature_formula(degree+2); - QGauss face_quadrature_formula(degree+2); - FEValues fe_values (fe, quadrature_formula, update_JxW_values | update_values | @@ -1795,7 +1793,6 @@ void BoussinesqFlowProblem::assemble_rhs_T () system_matrix.block(2,2) = 0; QGauss quadrature_formula(degree+2); - QGauss face_quadrature_formula(degree+2); FEValues fe_values (fe, quadrature_formula, update_values | update_gradients | update_hessians | @@ -2135,7 +2132,7 @@ void BoussinesqFlowProblem::output_results () const data_out.add_data_vector (solution, solution_names, DataOut::type_dof_data, data_component_interpretation); - data_out.build_patches (); + data_out.build_patches (degree); std::ostringstream filename; filename << "solution-" << Utilities::int_to_string(timestep_number, 4) << ".vtk";