From: Wolfgang Bangerth Date: Mon, 25 Apr 2011 00:10:13 +0000 (+0000) Subject: Fix minor problem. X-Git-Tag: v8.0.0~4111 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4218d8edfed0d47d313649a468f7fac9ddc5bd83;p=dealii.git Fix minor problem. git-svn-id: https://svn.dealii.org/trunk@23646 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/examples/step-46/doc/tooltip b/deal.II/examples/step-46/doc/tooltip index ecd9c06522..7cddc5ca0c 100644 --- a/deal.II/examples/step-46/doc/tooltip +++ b/deal.II/examples/step-46/doc/tooltip @@ -1 +1 @@ -Coupling different models in different parts of the domain +Coupling different physical models (flow, elasticity) in different parts of the domain diff --git a/deal.II/examples/step-46/step-46.cc b/deal.II/examples/step-46/step-46.cc index dd9e9e2f6c..00b3101bd6 100644 --- a/deal.II/examples/step-46/step-46.cc +++ b/deal.II/examples/step-46/step-46.cc @@ -106,7 +106,7 @@ class FluidStructureProblem fluid_domain_id, solid_domain_id }; - + static bool cell_is_in_fluid_domain (const typename hp::DoFHandler::cell_iterator &cell); @@ -420,7 +420,7 @@ FluidStructureProblem::setup_dofs () { set_active_fe_indices (); dof_handler.distribute_dofs (fe_collection); - + { constraints.clear (); DoFTools::make_hanging_node_constraints (dof_handler, @@ -930,7 +930,7 @@ assemble_interface_term (const FEFaceValuesBase &elasticity_fe_fac ExcInternalError()); const unsigned int n_face_quadrature_points = elasticity_fe_face_values.n_quadrature_points; - + const FEValuesExtractors::Vector velocities (0); const FEValuesExtractors::Scalar pressure (dim); const FEValuesExtractors::Vector displacements (dim+1); @@ -1090,7 +1090,7 @@ FluidStructureProblem::refine_mesh () // vector that contains error indicators // for all cells: stokes_estimated_error_per_cell - *= 4 . / stokes_estimated_error_per_cell.l2_norm(); + *= 4. / stokes_estimated_error_per_cell.l2_norm(); elasticity_estimated_error_per_cell *= 1. / elasticity_estimated_error_per_cell.l2_norm();