From: bangerth Date: Sat, 23 Apr 2011 03:40:47 +0000 (+0000) Subject: Rename function. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b5a433f32d00c9947ca0c567a0d492f60f30066c;p=dealii-svn.git Rename function. git-svn-id: https://svn.dealii.org/trunk@23638 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 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;