From 3b44d48b034fac94e69165acf3db9eb057048e19 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Wed, 5 Jul 2023 09:39:38 +0200 Subject: [PATCH] Fix step-46 tutorial program --- examples/step-46/step-46.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/step-46/step-46.cc b/examples/step-46/step-46.cc index ca0641007c..1cd4c8930c 100644 --- a/examples/step-46/step-46.cc +++ b/examples/step-46/step-46.cc @@ -220,12 +220,12 @@ namespace Step46 : stokes_degree(stokes_degree) , elasticity_degree(elasticity_degree) , triangulation(Triangulation::maximum_smoothing) - , stokes_fe(FE_Q(stokes_degree + 1) ^ dim, // for the fluid velocity - FE_Q(stokes_degree), // for the fluid pressure - FE_Nothing() ^ dim) // for the solid displacement - , elasticity_fe(FE_Nothing() ^ dim, // for the fluid velocity - FE_Nothing(), // for the fluid pressure - FE_Q(elasticity_degree)) // for the solid displacement + , stokes_fe(FE_Q(stokes_degree + 1) ^ dim, // fluid velocity + FE_Q(stokes_degree), // fluid pressure + FE_Nothing() ^ dim) // solid displacement + , elasticity_fe(FE_Nothing() ^ dim, // fluid velocity + FE_Nothing(), // fluid pressure + FE_Q(elasticity_degree) ^ dim) // solid displacement , dof_handler(triangulation) , viscosity(2) , lambda(1) -- 2.39.5