From 0730c8f088ecb202704e06da4bb2f7b6d78b4efe Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 23 Apr 2011 03:40:47 +0000 Subject: [PATCH] Rename function. git-svn-id: https://svn.dealii.org/trunk@23638 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-46/step-46.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/deal.II/examples/step-46/step-46.cc b/deal.II/examples/step-46/step-46.cc index d0bbdc304e..2799e9059f 100644 --- a/deal.II/examples/step-46/step-46.cc +++ b/deal.II/examples/step-46/step-46.cc @@ -78,7 +78,7 @@ using namespace dealii; // cell_is_in_solid_domain) of // self-explanatory nature and a few // functions (make_grid, - // setup_subdomains, + // set_active_fe_indices, // assemble_interface_terms) that have // been broken out of other functions and // will be discussed as we get to their @@ -106,7 +106,7 @@ class FluidStructureProblem void make_grid (); - void setup_subdomains (); + void set_active_fe_indices (); void setup_dofs (); void assemble_system (); void assemble_interface_term (const FEFaceValuesBase &elasticity_fe_face_values, @@ -327,7 +327,7 @@ FluidStructureProblem::make_grid () template void -FluidStructureProblem::setup_subdomains () +FluidStructureProblem::set_active_fe_indices () { for (typename hp::DoFHandler::active_cell_iterator cell = dof_handler.begin_active(); @@ -345,8 +345,7 @@ FluidStructureProblem::setup_subdomains () template void FluidStructureProblem::setup_dofs () { - system_matrix.clear (); - + set_active_fe_indices (); dof_handler.distribute_dofs (fe_collection); { @@ -875,7 +874,6 @@ void FluidStructureProblem::run () if (refinement_cycle > 0) refine_mesh (); - setup_subdomains (); setup_dofs (); std::cout << " Assembling..." << std::endl; -- 2.39.5