Skip to content

Commit

Permalink
initialize healed properties used
Browse files Browse the repository at this point in the history
  • Loading branch information
hugary1995 committed Jan 20, 2021
1 parent fe213aa commit 40d80ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/xfem/src/base/XFEM.C
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ XFEM::healMesh()

// clear stored material properties
_healed_elems.clear();
_healed_material_properties_used.clear();
_healed_cuts.clear();

for (unsigned int i = 0; i < _geometric_cuts.size(); ++i)
Expand Down Expand Up @@ -2122,6 +2123,8 @@ XFEM::storeMaterialPropertiesForElements(const Elem * parent_elem,
{
auto elem_pair = std::make_pair(elem1, elem2);
_healed_elems.emplace(parent_elem, elem_pair);
_healed_material_properties_used[parent_elem].first = false;
_healed_material_properties_used[parent_elem].second = false;
}

void
Expand Down

0 comments on commit 40d80ab

Please sign in to comment.