]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make output patches adaptive on polynomial degree. Remove a number of variables that...
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Aug 2008 04:58:01 +0000 (04:58 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 15 Aug 2008 04:58:01 +0000 (04:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@16560 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-31/step-31.cc

index 5ed0f8a9b140fddb145843a8b52c0e0030a819f0..eeccfb98bc6a20ab31765d0fdd0c4140c91724c2 100644 (file)
@@ -1174,8 +1174,6 @@ BoussinesqFlowProblem<dim>::assemble_preconditioner ()
   preconditioner_matrix = 0;
 
   QGauss<dim>   quadrature_formula(degree+2);
-  QGauss<dim-1> face_quadrature_formula(degree+2);
-
   FEValues<dim> fe_values (fe, quadrature_formula,
                           update_JxW_values |
                           update_values |
@@ -1795,7 +1793,6 @@ void BoussinesqFlowProblem<dim>::assemble_rhs_T ()
   system_matrix.block(2,2) = 0;
   
   QGauss<dim>   quadrature_formula(degree+2);
-  QGauss<dim-1> face_quadrature_formula(degree+2);
   FEValues<dim> fe_values (fe, quadrature_formula,
                            update_values    | update_gradients |
                           update_hessians |
@@ -2135,7 +2132,7 @@ void BoussinesqFlowProblem<dim>::output_results ()  const
   data_out.add_data_vector (solution, solution_names,
                            DataOut<dim>::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";

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.