]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Corrections in Step-45 12884/head
authorRaghunandan Pratoori <58669729+rnpratoori@users.noreply.github.com>
Sat, 9 Oct 2021 13:33:54 +0000 (08:33 -0500)
committerMarc Fehling <mafehling.git@gmail.com>
Tue, 26 Oct 2021 01:48:33 +0000 (19:48 -0600)
Removed duplicate occurrence of VectorTools::interpolate_boundary_values in setup_dofs()

doc/news/changes/minor/20211011RPratoori [new file with mode: 0644]
examples/step-45/step-45.cc

diff --git a/doc/news/changes/minor/20211011RPratoori b/doc/news/changes/minor/20211011RPratoori
new file mode 100644 (file)
index 0000000..e2f5d63
--- /dev/null
@@ -0,0 +1,4 @@
+Fixed: Deleted duplicate occurrence of VectorTools::interpolate_boundary_values()
+in setup_dofs() of step-45.
+<br>
+(Raghunandan Pratoori, 2021/10/11)
index 17384110ec9ce798e490773d10d5a5197c204b56..cf9e2806e21bea5f75bbd29d9ddcb97c23c94cc7 100644 (file)
@@ -462,19 +462,6 @@ namespace Step45
                                                        fe.component_mask(
                                                          velocities),
                                                        first_vector_components);
-
-      VectorTools::interpolate_boundary_values(mapping,
-                                               dof_handler,
-                                               0,
-                                               BoundaryValues<dim>(),
-                                               constraints,
-                                               fe.component_mask(velocities));
-      VectorTools::interpolate_boundary_values(mapping,
-                                               dof_handler,
-                                               1,
-                                               BoundaryValues<dim>(),
-                                               constraints,
-                                               fe.component_mask(velocities));
     }
 
     constraints.close();

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.