]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename primary class to reflect what the program actually does.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 11 Apr 2011 13:43:22 +0000 (13:43 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 11 Apr 2011 13:43:22 +0000 (13:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@23567 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-46/step-46.cc

index 3bce07265343a51252ee40c5d7dda2aa8b5ae0a4..f27cedc495d65047569f0b21b90662a61d341770 100644 (file)
@@ -56,10 +56,10 @@ using namespace dealii;
 
 
 template <int dim>
-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<dim>::vector_value (const Point<dim> &p,
 
 
 template <int dim>
-StokesProblem<dim>::StokesProblem (const unsigned int stokes_degree,
+FluidStructureProblem<dim>::FluidStructureProblem (const unsigned int stokes_degree,
                                   const unsigned int elasticity_degree)
                 :
                 stokes_degree (stokes_degree),
@@ -197,7 +197,7 @@ StokesProblem<dim>::StokesProblem (const unsigned int stokes_degree,
 
 
 template <int dim>
-void StokesProblem<dim>::setup_dofs ()
+void FluidStructureProblem<dim>::setup_dofs ()
 {
   system_matrix.clear ();
 
@@ -310,7 +310,7 @@ void StokesProblem<dim>::setup_dofs ()
 
 
 template <int dim>
-void StokesProblem<dim>::assemble_system ()
+void FluidStructureProblem<dim>::assemble_system ()
 {
   system_matrix=0;
   system_rhs=0;
@@ -436,7 +436,7 @@ void StokesProblem<dim>::assemble_system ()
 
 
 template <int dim>
-void StokesProblem<dim>::solve ()
+void FluidStructureProblem<dim>::solve ()
 {
   SparseDirectUMFPACK direct_solver;
   direct_solver.initialize (system_matrix);
@@ -450,7 +450,7 @@ void StokesProblem<dim>::solve ()
 
 template <int dim>
 void
-StokesProblem<dim>::output_results (const unsigned int refinement_cycle)  const
+FluidStructureProblem<dim>::output_results (const unsigned int refinement_cycle)  const
 {
   std::vector<std::string> solution_names (dim, "velocity");
   solution_names.push_back ("pressure");
@@ -487,7 +487,7 @@ StokesProblem<dim>::output_results (const unsigned int refinement_cycle)  const
 
 template <int dim>
 void
-StokesProblem<dim>::refine_mesh ()
+FluidStructureProblem<dim>::refine_mesh ()
 {
   Vector<float> estimated_error_per_cell (triangulation.n_active_cells());
 
@@ -516,7 +516,7 @@ StokesProblem<dim>::refine_mesh ()
 
 
 template <int dim>
-void StokesProblem<dim>::run ()
+void FluidStructureProblem<dim>::run ()
 {
   GridGenerator::hyper_cube (triangulation, -1, 1);
   for (typename Triangulation<dim>::active_cell_iterator

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.