]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Reduce order of quadrature formulas to what is needed. Reduce amount of output.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 18 Oct 2007 20:19:29 +0000 (20:19 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 18 Oct 2007 20:19:29 +0000 (20:19 +0000)
git-svn-id: https://svn.dealii.org/trunk@15345 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 6904b509034a3a7cc095aef616a1a51df91b1d66..861d753592b45b7b33bc5bfcfdefb2088ea1fc7a 100644 (file)
@@ -643,8 +643,8 @@ void BoussinesqFlowProblem<dim>::assemble_system ()
 template <int dim>
 void BoussinesqFlowProblem<dim>::assemble_rhs_T () 
 {  
-  QGauss<dim>   quadrature_formula(degree+2); 
-  QGauss<dim-1> face_quadrature_formula(degree+2);  
+  QGauss<dim>   quadrature_formula(degree+1); 
+  QGauss<dim-1> face_quadrature_formula(degree+1);
   FEValues<dim> fe_values (fe, quadrature_formula, 
                            update_values    | update_gradients |
                            update_quadrature_points  | update_JxW_values);
@@ -875,7 +875,7 @@ void BoussinesqFlowProblem<dim>::output_results ()  const
                            DataOut<dim>::type_dof_data,
                            data_component_interpretation);
 
-  data_out.build_patches (degree+1);
+  data_out.build_patches ();
   
   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.