Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[L-IE] supporting fracture intersections in mechanics #2235

Merged
merged 21 commits into from
Dec 10, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[LIE] bugfix in levelset
  • Loading branch information
norihiro-w authored and endJunction committed Dec 10, 2018
commit 7ec040780d52d5a9d0125e77fb3152d953f4928e
4 changes: 4 additions & 0 deletions ProcessLib/LIE/Common/LevelSetFunction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ std::vector<double> du_global_enrichments(
if (branch->master_fracture_ID != this_frac.fracture_id)
continue;

if (fracID_to_local.find(branch->slave_fracture_ID) ==
fracID_to_local.end())
continue;

double singned = boost::math::sign(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not important as the scope is limited

this_frac.normal_vector.dot(branch->normal_vector_branch));
auto slave_fid = fracID_to_local.at(branch->slave_fracture_ID);
Expand Down