From c263be1fcf53986b7230e23c6c4cb44944bbea76 Mon Sep 17 00:00:00 2001
From: Raghunandan Pratoori <58669729+rnpratoori@users.noreply.github.com>
Date: Sat, 9 Oct 2021 08:33:54 -0500
Subject: [PATCH] Corrections in Step-45
Removed duplicate occurrence of VectorTools::interpolate_boundary_values in setup_dofs()
---
doc/news/changes/minor/20211011RPratoori | 4 ++++
examples/step-45/step-45.cc | 13 -------------
2 files changed, 4 insertions(+), 13 deletions(-)
create mode 100644 doc/news/changes/minor/20211011RPratoori
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();
--
2.39.5