Skip to content

Commit

Permalink
fix: fdi bug was weigthing grad by volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Lachlan Grose committed Nov 8, 2021
1 parent d2c469f commit 7cd6296
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def add_vaue_constraints(self, w=1.):
self.add_constraints_to_least_squares(a.T,
points[inside, 3],
idc[inside, :],
w=w,
w=w*points[inside,4],
name='value')
def add_interface_constraints(self, w=1.0): # for now weight all value points the same
"""
Expand Down

0 comments on commit 7cd6296

Please sign in to comment.