From: Martin Kronbichler Date: Fri, 6 May 2022 05:49:12 +0000 (+0200) Subject: Improve name of a variable X-Git-Tag: v9.4.0-rc1~271^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96bc74112d57d97aa17e05a31f36662e0d20ea6f;p=dealii.git Improve name of a variable --- diff --git a/examples/step-37/step-37.cc b/examples/step-37/step-37.cc index 1669ff13ca..1f51a25b31 100644 --- a/examples/step-37/step-37.cc +++ b/examples/step-37/step-37.cc @@ -841,10 +841,10 @@ namespace Step37 const unsigned int nlevels = triangulation.n_global_levels(); mg_matrices.resize(0, nlevels - 1); - const std::set dirichlet_boundary = {0}; + const std::set dirichlet_boundary_ids = {0}; mg_constrained_dofs.initialize(dof_handler); mg_constrained_dofs.make_zero_boundary_constraints(dof_handler, - dirichlet_boundary); + dirichlet_boundary_ids); for (unsigned int level = 0; level < nlevels; ++level) { diff --git a/examples/step-66/step-66.cc b/examples/step-66/step-66.cc index 67fcdc6726..0c22657787 100644 --- a/examples/step-66/step-66.cc +++ b/examples/step-66/step-66.cc @@ -582,11 +582,10 @@ namespace Step66 mg_matrices.resize(0, nlevels - 1); mg_solution.resize(0, nlevels - 1); - std::set dirichlet_boundary; - dirichlet_boundary.insert(0); + const std::set dirichlet_boundary_ids = {0}; mg_constrained_dofs.initialize(dof_handler); mg_constrained_dofs.make_zero_boundary_constraints(dof_handler, - dirichlet_boundary); + dirichlet_boundary_ids); mg_transfer.initialize_constraints(mg_constrained_dofs); mg_transfer.build(dof_handler);