From e903a19b6bb3ae6091032e952546a317035bdea6 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Tue, 10 Jan 2023 07:27:45 -0500 Subject: [PATCH] Fix some more --- .../vector_tools_constraints.templates.h | 22 +++++++++---------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/include/deal.II/numerics/vector_tools_constraints.templates.h b/include/deal.II/numerics/vector_tools_constraints.templates.h index e1361b5195..02d4940bb8 100644 --- a/include/deal.II/numerics/vector_tools_constraints.templates.h +++ b/include/deal.II/numerics/vector_tools_constraints.templates.h @@ -1016,17 +1016,17 @@ namespace VectorTools normal /= normal.norm(); // then construct constraints from this: - const internal::VectorDoFTuple &dof_indices = + const VectorDoFTuple &dof_indices = same_dof_range[0]->first; double normal_value = 0.; const Vector b_values = dof_vector_to_b_values[dof_indices]; for (unsigned int i = 0; i < dim; ++i) normal_value += b_values[i] * normal[i]; - internal::add_constraint(dof_indices, - normal, - constraints, - normal_value); + add_constraint(dof_indices, + normal, + constraints, + normal_value); break; } @@ -1071,7 +1071,7 @@ namespace VectorTools // this into the AffineConstraints object // // ignore dofs already constrained - const internal::VectorDoFTuple &dof_indices = + const VectorDoFTuple &dof_indices = same_dof_range[0]->first; const Vector b_values = dof_vector_to_b_values[dof_indices]; @@ -1240,14 +1240,14 @@ namespace VectorTools // now all that is left is that we add the constraints that // the vector is parallel to the tangent - const internal::VectorDoFTuple &dof_indices = + const VectorDoFTuple &dof_indices = same_dof_range[0]->first; const Vector b_values = dof_vector_to_b_values[dof_indices]; - internal::add_tangentiality_constraints(dof_indices, - average_tangent, - constraints, - b_values); + add_tangentiality_constraints(dof_indices, + average_tangent, + constraints, + b_values); } } } -- 2.39.5