From: Raghunandan Pratoori <58669729+rnpratoori@users.noreply.github.com>
Date: Sat, 9 Oct 2021 13:33:54 +0000 (-0500)
Subject: Corrections in Step-45
X-Git-Tag: v9.4.0-rc1~892^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c263be1fcf53986b7230e23c6c4cb44944bbea76;p=dealii.git
Corrections in Step-45
Removed duplicate occurrence of VectorTools::interpolate_boundary_values in setup_dofs()
---
diff --git a/doc/news/changes/minor/20211011RPratoori b/doc/news/changes/minor/20211011RPratoori
new file mode 100644
index 0000000000..e2f5d6304c
--- /dev/null
+++ b/doc/news/changes/minor/20211011RPratoori
@@ -0,0 +1,4 @@
+Fixed: Deleted duplicate occurrence of VectorTools::interpolate_boundary_values()
+in setup_dofs() of step-45.
+
+(Raghunandan Pratoori, 2021/10/11)
diff --git a/examples/step-45/step-45.cc b/examples/step-45/step-45.cc
index 17384110ec..cf9e2806e2 100644
--- a/examples/step-45/step-45.cc
+++ b/examples/step-45/step-45.cc
@@ -462,19 +462,6 @@ namespace Step45
fe.component_mask(
velocities),
first_vector_components);
-
- VectorTools::interpolate_boundary_values(mapping,
- dof_handler,
- 0,
- BoundaryValues(),
- constraints,
- fe.component_mask(velocities));
- VectorTools::interpolate_boundary_values(mapping,
- dof_handler,
- 1,
- BoundaryValues(),
- constraints,
- fe.component_mask(velocities));
}
constraints.close();