From 3c6eeb58b21fa9cab0d1d7ee752d34028f24fdf2 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 25 Apr 2011 00:10:13 +0000 Subject: [PATCH] Fix minor problem. git-svn-id: https://svn.dealii.org/trunk@23646 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-46/doc/tooltip | 2 +- deal.II/examples/step-46/step-46.cc | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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(); -- 2.39.5