From: bangerth Date: Thu, 10 Mar 2011 00:39:14 +0000 (+0000) Subject: Also interpolate displacement boundary. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=994afc7c9926ce629b9a14cc1b2a33aeb0b6e2ae;p=dealii-svn.git Also interpolate displacement boundary. git-svn-id: https://svn.dealii.org/trunk@23475 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-46/step-46.cc b/deal.II/examples/step-46/step-46.cc index 176fbb7e1e..3bce072653 100644 --- a/deal.II/examples/step-46/step-46.cc +++ b/deal.II/examples/step-46/step-46.cc @@ -220,16 +220,25 @@ void StokesProblem::setup_dofs () { constraints.clear (); - std::vector component_mask (dim+1+dim, false); - for (unsigned int d=0; d velocity_mask (dim+1+dim, false); + for (unsigned int d=0; d(), constraints, - component_mask); + velocity_mask); + std::vector elasticity_mask (dim+1+dim, false); + for (unsigned int d=dim+1; d(dim+1+dim), + constraints, + elasticity_mask); } // make sure velocity is zero at