Skip to content

Commit

Permalink
Improve name of a variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kronbichler committed May 6, 2022
1 parent 9e96f0e commit 33efc28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/step-37/step-37.cc
Original file line number Diff line number Diff line change
Expand Up @@ -841,10 +841,10 @@ namespace Step37
const unsigned int nlevels = triangulation.n_global_levels();
mg_matrices.resize(0, nlevels - 1);

const std::set<types::boundary_id> dirichlet_boundary = {0};
const std::set<types::boundary_id> 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)
{
Expand Down
3 changes: 1 addition & 2 deletions examples/step-66/step-66.cc
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,7 @@ namespace Step66
mg_matrices.resize(0, nlevels - 1);
mg_solution.resize(0, nlevels - 1);

std::set<types::boundary_id> dirichlet_boundary;
dirichlet_boundary.insert(0);
const std::set<types::boundary_id> dirichlet_boundary_ids = {0};
mg_constrained_dofs.initialize(dof_handler);
mg_constrained_dofs.make_zero_boundary_constraints(dof_handler,
dirichlet_boundary);
Expand Down

0 comments on commit 33efc28

Please sign in to comment.