Skip to content

Commit 4f92ba4

Browse files
committed
fix: add name argument to p1 gradient orthogonal
1 parent 63c1529 commit 4f92ba4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

LoopStructural/interpolators/_p1interpolator.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,12 @@ def setup_interpolator(self, **kwargs):
175175
# self.add_interface_constraints(self.interpolation_weights["ipw"])
176176

177177
def add_gradient_orthogonal_constraints(
178-
self, points: np.ndarray, vector: np.ndarray, w: float = 1.0, B: float = 0
178+
self,
179+
points: np.ndarray,
180+
vector: np.ndarray,
181+
w: float = 1.0,
182+
B: float = 0,
183+
name='undefined gradient orthogonal constraint',
179184
):
180185
"""
181186
constraints scalar field to be orthogonal to a given vector

0 commit comments

Comments
 (0)