There was an error while loading. Please reload this page.
1 parent af59667 commit 9240eabCopy full SHA for 9240eab
1 file changed
lsdo_function_spaces/core/spaces/rbf_space.py
@@ -88,6 +88,9 @@ def compute_basis_matrix(self, parametric_coordinates:np.ndarray, parametric_der
88
dist = cdist(parametric_coordinates, self.points, 'euclidean')
89
phi = getattr(self, f'_{self.radial_function}')(dist)
90
91
+ # sum the basis functions so the total influence per evaluation point is 1
92
+ phi = phi / np.sum(phi, axis=1, keepdims=True)
93
+
94
return phi
95
96
def _gaussian(self, x):
0 commit comments