]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix step-46 tutorial program 15657/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Wed, 5 Jul 2023 07:39:38 +0000 (09:39 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Wed, 5 Jul 2023 07:39:38 +0000 (09:39 +0200)
examples/step-46/step-46.cc

index ca0641007cb1ae162c8bfe6ff7fba36a43cacb0b..1cd4c8930c2a702487379db12a5d8d02401b08b8 100644 (file)
@@ -220,12 +220,12 @@ namespace Step46
     : stokes_degree(stokes_degree)
     , elasticity_degree(elasticity_degree)
     , triangulation(Triangulation<dim>::maximum_smoothing)
-    , stokes_fe(FE_Q<dim>(stokes_degree + 1) ^ dim, // for the fluid velocity
-                FE_Q<dim>(stokes_degree),           // for the fluid pressure
-                FE_Nothing<dim>() ^ dim)          // for the solid displacement
-    , elasticity_fe(FE_Nothing<dim>() ^ dim,      // for the fluid velocity
-                    FE_Nothing<dim>(),            // for the fluid pressure
-                    FE_Q<dim>(elasticity_degree)) // for the solid displacement
+    , stokes_fe(FE_Q<dim>(stokes_degree + 1) ^ dim,     // fluid velocity
+                FE_Q<dim>(stokes_degree),               // fluid pressure
+                FE_Nothing<dim>() ^ dim)                // solid displacement
+    , elasticity_fe(FE_Nothing<dim>() ^ dim,            // fluid velocity
+                    FE_Nothing<dim>(),                  // fluid pressure
+                    FE_Q<dim>(elasticity_degree) ^ dim) // solid displacement
     , dof_handler(triangulation)
     , viscosity(2)
     , lambda(1)

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.