From: Daniel Arndt Date: Tue, 10 Jan 2023 12:27:45 +0000 (-0500) Subject: Fix some more X-Git-Tag: v9.5.0-rc1~647^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e903a19b6bb3ae6091032e952546a317035bdea6;p=dealii.git Fix some more --- 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); } } }