]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
A tiny bit more infrastructure.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Feb 2011 19:44:41 +0000 (19:44 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 18 Feb 2011 19:44:41 +0000 (19:44 +0000)
git-svn-id: https://svn.dealii.org/trunk@23399 0785d39b-7218-0410-832d-ea1e28bc413d

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

index a21d7ca38106a088e4318271d18e725b741acd7b..140b2c6f235de409848d7900af03969f19722185 100644 (file)
@@ -185,6 +185,7 @@ StokesProblem<dim>::StokesProblem (const unsigned int stokes_degree,
                 dof_handler (triangulation)
 {
   fe_collection.push_back (stokes_fe);
+  fe_collection.push_back (elasticity_fe);
 }
 
 
@@ -249,8 +250,11 @@ void StokesProblem<dim>::assemble_system ()
   system_rhs=0;
 
   QGauss<dim>          stokes_quadrature(stokes_degree+2);
+  QGauss<dim>          elasticity_quadrature(elasticity_degree+2);
+
   hp::QCollection<dim> q_collection;
   q_collection.push_back (stokes_quadrature);
+  q_collection.push_back (elasticity_quadrature);
 
   hp::FEValues<dim> hp_fe_values (fe_collection, q_collection,
                                  update_values    |

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.