From 9141610436fb88eb19200732bc4b721d2819a35b Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 10 Mar 2011 00:39:14 +0000 Subject: [PATCH] Also interpolate displacement boundary. git-svn-id: https://svn.dealii.org/trunk@23475 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-46/step-46.cc | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) 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 -- 2.39.5