Skip to content

Commit

Permalink
Debugging from checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Wendy-Ji committed Jul 29, 2024
1 parent 014ca1f commit 5795085
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 9 deletions.
12 changes: 6 additions & 6 deletions framework/src/userobjects/ElementSubdomainModifierBase.C
Original file line number Diff line number Diff line change
Expand Up @@ -368,9 +368,9 @@ ElementSubdomainModifierBase::applyMovingBoundaryChanges(MooseMesh & mesh)
Parallel::push_parallel_vector_data(
bnd_info.comm(),
add_ghost_sides,
[&mesh, &bnd_info, this](
processor_id_type,
const std::vector<std::tuple<dof_id_type, unsigned short, BoundaryID>> & received)
[&mesh,
&bnd_info](processor_id_type,
const std::vector<std::tuple<dof_id_type, unsigned short, BoundaryID>> & received)
{
for (const auto & [elem_id, side, bnd] : received)
bnd_info.add_side(mesh.elemPtr(elem_id), side, bnd);
Expand All @@ -379,9 +379,9 @@ ElementSubdomainModifierBase::applyMovingBoundaryChanges(MooseMesh & mesh)
Parallel::push_parallel_vector_data(
bnd_info.comm(),
remove_ghost_sides,
[&mesh, &bnd_info, this](
processor_id_type,
const std::vector<std::tuple<dof_id_type, unsigned short, BoundaryID>> & received)
[&mesh,
&bnd_info](processor_id_type,
const std::vector<std::tuple<dof_id_type, unsigned short, BoundaryID>> & received)
{
for (const auto & [elem_id, side, bnd] : received)
bnd_info.remove_side(mesh.elemPtr(elem_id), side, bnd);
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
[esm]
type = CutElementSubdomainModifier
geometric_cut_userobject = level_set_cut_uo
initialize_variables = 'disp_x disp_y'
initialization_strategy = 'NEAREST'
reinitialize_subdomains = '' #no reinitialization of variables or material properties
[]
[]

Expand Down
Binary file modified test/tests/mesh/add_subdomain_ids/gold/add_subdomain_names_out.e
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion test/tests/mesh/add_subdomain_ids/tests
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
[add_subdomain_names]
type = Exodiff
input = add_subdomain_names.i
exodiff = 'add_subdomain_names_out.e add_subdomain_names_out.e-s004 add_subdomain_names_out.e-s006'
exodiff = 'add_subdomain_names_out.e add_subdomain_names_out.e-s002 add_subdomain_names_out.e-s003'
exodiff_opts = '-pedantic'
issues = '#27474'
design = MooseMesh.md
Expand Down

0 comments on commit 5795085

Please sign in to comment.