From: Wolfgang Bangerth Date: Mon, 11 Apr 2011 13:43:22 +0000 (+0000) Subject: Rename primary class to reflect what the program actually does. X-Git-Tag: v8.0.0~4184 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50c4c11d0921a066745c9ef89c299d86ab43a133;p=dealii.git Rename primary class to reflect what the program actually does. git-svn-id: https://svn.dealii.org/trunk@23567 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 3bce072653..f27cedc495 100644 --- a/deal.II/examples/step-46/step-46.cc +++ b/deal.II/examples/step-46/step-46.cc @@ -56,10 +56,10 @@ using namespace dealii; template -class StokesProblem +class FluidStructureProblem { public: - StokesProblem (const unsigned int stokes_degree, + FluidStructureProblem (const unsigned int stokes_degree, const unsigned int elasticity_degree); void run (); @@ -173,7 +173,7 @@ RightHandSide::vector_value (const Point &p, template -StokesProblem::StokesProblem (const unsigned int stokes_degree, +FluidStructureProblem::FluidStructureProblem (const unsigned int stokes_degree, const unsigned int elasticity_degree) : stokes_degree (stokes_degree), @@ -197,7 +197,7 @@ StokesProblem::StokesProblem (const unsigned int stokes_degree, template -void StokesProblem::setup_dofs () +void FluidStructureProblem::setup_dofs () { system_matrix.clear (); @@ -310,7 +310,7 @@ void StokesProblem::setup_dofs () template -void StokesProblem::assemble_system () +void FluidStructureProblem::assemble_system () { system_matrix=0; system_rhs=0; @@ -436,7 +436,7 @@ void StokesProblem::assemble_system () template -void StokesProblem::solve () +void FluidStructureProblem::solve () { SparseDirectUMFPACK direct_solver; direct_solver.initialize (system_matrix); @@ -450,7 +450,7 @@ void StokesProblem::solve () template void -StokesProblem::output_results (const unsigned int refinement_cycle) const +FluidStructureProblem::output_results (const unsigned int refinement_cycle) const { std::vector solution_names (dim, "velocity"); solution_names.push_back ("pressure"); @@ -487,7 +487,7 @@ StokesProblem::output_results (const unsigned int refinement_cycle) const template void -StokesProblem::refine_mesh () +FluidStructureProblem::refine_mesh () { Vector estimated_error_per_cell (triangulation.n_active_cells()); @@ -516,7 +516,7 @@ StokesProblem::refine_mesh () template -void StokesProblem::run () +void FluidStructureProblem::run () { GridGenerator::hyper_cube (triangulation, -1, 1); for (typename Triangulation::active_cell_iterator