Skip to content

Commit

Permalink
propagate changes to geometry.reset_material_id input name into Geome…
Browse files Browse the repository at this point in the history
…try.cc
  • Loading branch information
stvdwtt committed Mar 18, 2024
1 parent 0ef3eb1 commit 1e20f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/Geometry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ Geometry<dim>::Geometry(MPI_Comm const &communicator,
dealii::GridTools::scale(mesh_scaling, _triangulation);

// Set the mesh material id to 0 if specified in the input
// PropertyTreeInput geometry.set_material_id_to_0
auto reset_material_id = database.get("set_material_id_to_0", false);
// PropertyTreeInput geometry.reset_material_id
auto reset_material_id = database.get("reset_material_id", false);
if (reset_material_id)
{
for (auto cell : _triangulation.active_cell_iterators())
Expand Down

0 comments on commit 1e20f63

Please sign in to comment.